getValues: get system quantity (e.g. startValue, inflowRate, washOut)...

Description Usage Arguments

View source: R/getValues.R

Description

get system quantity (e.g. startValue, inflowRate, washOut) for all state variables (convention is that microbes are before resources)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
getValues(
  sysInfoMicrobes,
  sysInfoRes,
  stateVarNames,
  quantity,
  strainNames,
  microbeNames,
  resourceNames,
  numStrains
)

Arguments

sysInfoMicrobes

sys info dataframe for microbes

sysInfoRes

sys info dataframe for resources

stateVarNames

Vector of names of all the state variables

quantity

String. Name of quantity to get value for e.g. 'startValue'

strainNames

Vector of strings of strain names

microbeNames

Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')

resourceNames

Vector of strings which contains the names of the resources in the system

numStrains

Integer. Number of strains per group


microPop documentation built on Feb. 3, 2022, 5:07 p.m.