bhpm.sim.control.params {bhpm}R Documentation

Generate a template for the individual model parameter simulation control parameters.

Description

This function generates a template for overriding the global simulation parameters used by the model simulation functions (e.g. bhpm.cluster.BB.hier3).

Usage

	bhpm.sim.control.params(cluster.data, model = "1a")

Arguments

cluster.data

A file or data frame containing the cluster data.

model

Allowed values are "BB" and "1a" for point-mass and non-point-mass models respectively.

Value

A dataframe containing the simulation parameters template.

Author(s)

R. Carragher

Examples

data(bhpm.cluster.data1)
s.c.p <- bhpm.sim.control.params(bhpm.cluster.data1)
head(s.c.p)

data(bhpm.cluster.data1)
s.c.p <- bhpm.sim.control.params(bhpm.cluster.data1)
head(s.c.p)


[Package bhpm version 1.7 Index]