This function uses a set of scaling factors defined in the pecan XML to scale a given matrix

rescaling_stateVars(settings, X, multiply = TRUE)

Arguments

settings

pecan xml settings where state variables have the scaling_factor tag

X

Any Matrix with column names as variable names

multiply

TRUE = multiplication, FALSE = division

Value

rescaled Matrix