GOF: GOF

Description Usage Arguments Value References Examples

View source: R/coefficients.R

Description

Good of fitting

Usage

1
GOF(Y_obs, Y_sim, w, include.r = TRUE, include.cv = FALSE)

Arguments

Y_obs

Numeric vector, observations

Y_sim

Numeric vector, corresponding simulated values

w

Numeric vector, weights of every points. If w included, when calculating mean, Bias, MAE, RMSE and NSE, w will be taken into considered.

include.r

If true, r and R2 will be included.

include.cv

If true, cv will be included.

Value

References

Zhang Xiaoyang (2015), http://dx.doi.org/10.1016/j.rse.2014.10.012

Examples

1
2
3
Y_obs = rnorm(100)
Y_sim = Y_obs + rnorm(100)/4
GOF(Y_obs, Y_sim)

phenofit documentation built on April 2, 2020, 5:07 p.m.