View source: R/getCompartments.R
getCompartments | R Documentation |
This is a utility function to obtain the names of the compartments with the specified type
getCompartments(model, type) ## S3 method for class 'SEIRModel' getCompartments(model, type) ## S3 method for class 'SEIRVModel' getCompartments(model, type) ## S3 method for class 'SEIRV2DoseModel' getCompartments(model, type) ## S3 method for class 'SEIRVMonoModel' getCompartments(model, type)
model |
The model for which compartment names are desired |
type |
The type of the compartment |
A vector of compartment names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.