percent_rmse | R Documentation |
Calculate RMSE and percent RMSE with PLSR model results
percent_rmse(
plsr_dataset = NULL,
inVar = NULL,
residuals = NULL,
range = "full"
)
plsr_dataset |
input plsr dataset |
inVar |
the trait variable used in the calculation of RMSE |
residuals |
predicted minus observed residual vector from either a cross-validation CV or independent validation |
range |
calculate over the full data range or the 95% of data range. options full or 95perc |
output a list containing the rmse and perc_rmse. output <- list(rmse = rmse, perc_rmse = perc_rmse)
Shawn P. Serbin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.