rpiq: rpiq

Description Usage Arguments Details Value Author(s) References Examples

View source: R/rpiq.R

Description

Calculates the Ratio of interquartile to RMSE (RPIQ) from observed and predicted values.

Usage

1
rpiq(o, p)

Arguments

o

A numeric vector. Observed values.

p

A numeric vector. Predicted values.

Details

Interpretation: Smaller is better.

Value

Ratio of interquartile to RMSE (RPIQ)

Author(s)

Kristin Piikki, Johanna Wetterlind, Mats Soderstrom & Bo Stenberg kristin.piikki@slu.se

References

Bellon-Maurel V., Fernandez-Ahumada E., Palagos B., Roger J. M., McBratney, A. 2010. Critical review of chemometric indicators commonly used for assessing the quality of the prediction of soil attributes by NIR spectroscopy. TrAC Trends in Analytical Chemistry, 29(9), 1073-1081.

Piikki K., Wetterlind J., Soderstrom M. Stenberg B. Perspectives on validation in digital soil mapping of continuous attributes. A review. Soil Use and Management, in press.

Examples

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

valmetrics documentation built on Jan. 16, 2021, 5:11 p.m.