makeInflowFromSoln {microPop} | R Documentation |
Used for running microPop with multiple compartments Takes the solution (state of system) from the previous compartment (out$solution) and then finds the washout rate of each state variable using removalRateFunc to find the inflow rate to the next downstream compartment
makeInflowFromSoln(out)
out |
output from microPopModel() |
matrix of flow rates (conc/time) with named columns (the same as out$solution)