nosoiSimConstructor: nosoiSim Constructor

View source: R/nosoiSim.R

nosoiSimConstructorR Documentation

nosoiSim Constructor

Description

Creates a nosoiSim object.

Usage

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

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

Value

An object of class nosoiSim


slequime/nosoi documentation built on Feb. 15, 2024, 3:31 p.m.