valid_dbp: Validate dry biomass partitioning coefficients

Description Usage Arguments Value Author(s) See Also Examples

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)

BioCro documentation built on May 2, 2019, 6:15 p.m.