buildModelClass {hybridModels} | R Documentation |
It builds an object of a pre-specified class.
Description
buildModelClass
is generic function that calls a method
to create a object base on model's name.
Usage
buildModelClass(
x,
var.names,
init.cond,
model.parms,
probWeights,
emigrRule,
prop.func = NULL,
state.var = NULL,
infl.var = NULL,
state.change.matrix = NULL
)
Arguments
x |
is an empty object of a class requested. |
var.names |
a |
init.cond |
a named |
model.parms |
a named |
probWeights |
a named |
emigrRule |
a string (optional and for migration type only) stating how many individual emigrate based on state variables. It requires that the network have weights instead of number of individuals that migrate. |
prop.func |
a character |
state.var |
a character |
infl.var |
a named |
state.change.matrix |
is a state-change |
Value
An object of the class requested.
References
.