Validate dry biomass partitioning coefficients

Share:

Description

It attempts to check the requirements of the dry biomass partitioning coefficients.

Usage

1
valid_dbp(x, tol = 0.001)

Arguments

x

Vector of length equal to 25 containing the dry biomass partitioning coefficients for the 6 phenological stages as for example produced by phenoParms.

tol

Numerical tolerance passed to the all.equal function.

Value

It will return the vector of coefficients unchanged if no errors are detected.

Author(s)

Fernando E. Miguez

See Also

BioGro

Examples

1
2
xx <- as.vector(unlist(phenoParms())[7:31])
valid_dbp(xx)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.