valid_dbp: Validate dry biomass partitioning coefficients

Description Usage Arguments Value Author(s) See Also Examples

View source: R/valid_dbp.R

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 31, 2017, 4:47 a.m.

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