getValues {microPop}R Documentation

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

Description

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

Usage

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


[Package microPop version 1.6 Index]