Residual sum of squares for BioGro.

Usage

RssBioGro(obs, sim)

Arguments

obs
Observed data.
sim
Simulated data.

Value

Atomic vector with the residual sum of squares.

Description

Computes residual sum of squares for the BioGro function. Very simple function to compare the distance between simulated and observed data for the BioGro function Need to add an argument such as pc.sigmas "plant component sigmas" If variability of the plant component is known

Examples

## A simple example data(annualDB) data(EngWea94i) res <- BioGro(EngWea94i) RssBioGro(annualDB,res)
[1] 346.0124

See also

See Also BioGro.

Author

Fernando E. Miguez