ac {valmetrics}R Documentation

ac

Description

Calculates the Agreement coefficient (AC) from observed and predicted values.

Usage

ac(o, p)

Arguments

o

A numeric vector. Observed values.

p

A numeric vector. Predicted values.

Details

Interpretation: larger is better.

Value

Agreement coefficient (AC).

Author(s)

Kristin Piikki, Johanna Wetterlind, Mats Soderstrom and Bo Stenberg, E-mail: kristin.piikki@slu.se

References

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. doi: 10.1111/sum.12694

Willmott, C. J. (1984). On the evaluation of model performance in physical geography. In Spatial statistics and models. Springer, Dordrecht, Netherlands.

Examples

obs<-c(1:10)
pred<-c(1, 1 ,3, 2, 4, 5, 6, 8, 7, 10)
ac(o=obs, p=pred)

[Package valmetrics version 1.0.0 Index]