This function is based on simplerspec::evaluate_model by Baumann P (2020). simplerspec: Soil and plant spectroscopic model building and prediction. R package version 0.1.0.9001, https://github.com/philipp-baumann/simplerspec. Several metrics have been added to the function (e.g. R2 and linsccc) [Stable]

evaluate_model_adjusted(data, obs = "obs", pred = "pred")

Arguments

data

Tibble, data.frame containing at least 2 columns with numeric data (observations, predicitions)

obs

String for selectingobservation column

pred

String for selecting prediction column