Calculates the Mean absolute percentage error (MAPE) from observed
and predicted values.
Usage
mape(o, p)
Arguments
o
A numeric vector. Observed values.
p
A numeric vector. Predicted values.
Value
Mean absolute percentage error (MAPE)
Details
Interpretation: smaller is better.
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. 10.1111/sum.12694