addCellCompartment: Adds a new cell compartment to a simpop configuration

View source: R/sim_pop.R

addCellCompartmentR Documentation

Adds a new cell compartment to a simpop configuration

Description

Adds a new cell compartment to a simpop configuration

Usage

addCellCompartment(
  cfg,
  population,
  rate,
  ndriver = 0,
  basefit = 0,
  descr = NULL
)

Arguments

cfg

list. simpop config

rate

target population

ndriver

integer. DEPRECATED

basefit

numeric. DEPRECATED

descr

character. Description

Value

list simpop config


NickWilliamsSanger/rsimpop documentation built on Sept. 6, 2024, 12:42 a.m.