valmetrics (version 1.0.0)

lc: lc

Description

Calculates the Lack of correlation (LC) from observed and predicted values.

Usage

lc(o, p)

Arguments

o

A numeric vector. Observed values.

p

A numeric vector. Predicted values.

Value

Lack of correlation (LC)

Details

Interpretation: smaller is better.

References

Gauch H. G., Hwang J. G., & Fick G. W. 2003. Model evaluation by comparison of model based predictions and measured values. Agronomy Journal, 95(6), 1442-1446.

Piikki K., Wetterlind J., Soderstrom M., Stenberg B. (2021). Perspectives on validation in digital soil mapping of continuous attributes. A review. Soil Use and Management. 10.1111/sum.12694

Examples

Run this code
# NOT RUN {
obs<-c(1:10)
pred<-c(1, 1 ,3, 2, 4, 5, 6, 8, 7, 10)
lc(o=obs, p=pred)

# }

Run the code above in your browser using DataCamp Workspace