nosoi (version 1.1.2)

nosoiSimConstructor: nosoiSim Constructor

Description

Creates a nosoiSim object.

Usage

nosoiSimConstructor(
  total.time,
  type = c("single", "dual"),
  pop.A,
  pop.B = NULL
)

Value

An object of class nosoiSim

Arguments

total.time

total time of the simulation

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