ToSiteCompartmentalModel: Crate site compartmental model

Description Usage Arguments Value See Also

View source: R/EpidemiologyModelModifications.R

Description

Makes the migration (supplemental) equations with the specified matrix and stocks.

Usage

1
2
3
4
5
6
7
ToSiteCompartmentalModel(
  model,
  mat,
  migratingStocks = NULL,
  cellIdentifiers = NULL,
  ...
)

Arguments

model

A (single-site) model object.

mat

A matrix.

migratingStocks

A a character vector with stocks (names.)

cellIdentifiers

A character vector with cell identifiers. If NULL then unique(c(rownames(mat), colnames(mat))) is used.

...

Additional arguments for MakeMigrationEquations.

Value

A character vector

See Also

Other Epidemiology Model Modifier functions: AddModelIdentifier(), AddModelRates(), JoinModels(), MakeMigrationEquations(), TakeRHSFunctionBodyLines()


antononcube/ECMMon-R documentation built on April 18, 2021, 10:47 a.m.