getC-NlModel-method: Pool Contents for all times

getC,NlModel-methodR Documentation

Pool Contents for all times

Description

Pool Contents for all times

The solution of the initial value problem (IVP) for the pool contents. Since the first models in SoilR had only Carbon pools the function name getC could be interpreted as referring to the C content. If the model includes other element cycles e.g. N or P this interpretation is no longer valid. In this case the C in 'getC' stands for 'content' since the function will always return the solution for all pools, regardless of the chemical element the author of the model associated them with.

Usage

## S4 method for signature 'NlModel'
getC(object, as.closures = FALSE)

Arguments

object

no manual documentation

as.closures

If TRUE will return the result as a list of approximating functions of time indexed by the pool number.

Value

If as.closures is FALSE (the default) the return value is a matrix with as many columns as there are pools and as many rows as there are entries in the times argument the model has been built with.


SoilR documentation built on Oct. 13, 2023, 5:06 p.m.