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)


Search within the BioCro package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.