powered by
Computes the rho, MAE, RMSE, perc, and p-val performance metrics using the compiled C++ function
a vector of the observed values
a vector of the corresponding predicted values
A data.frame with components for the various performance metrics:
# NOT RUN { compute_stats(rnorm(100), rnorm(100)) # }
Run the code above in your browser using DataLab