nosoiSimConstructor: nosoiSim Constructor
Description
Creates a nosoiSim
object.
Usage
nosoiSimConstructor(
total.time,
type = c("single", "dual"),
pop.A,
pop.B = NULL
)
Arguments
type
population structure (one of "single or "dual)
pop.A
an object of class nosoiSimOne
for population A
pop.B
an object of class nosoiSimOne
for population B
pres.time
current time of the simulation
Value
An object of class nosoiSim