nosoiSimConstructor: nosoiSim Constructor

Description Usage Arguments Value

View source: R/nosoiSim.R

Description

Creates a nosoiSim object.

Usage

1
2
3
4
5
6
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


nosoi documentation built on Aug. 17, 2021, 5:09 p.m.