reg_error | R Documentation |
Calculate error metrics for regression
reg_error(
x,
y,
rho = FALSE,
tau = FALSE,
pct.red = FALSE,
na.rm = FALSE,
verbosity = 0
)
x |
Numeric vector: True values |
y |
Numeric vector: Predicted values |
rho |
Logical: If TRUE, calculate Spearman's rho |
tau |
Logical: If TRUE, calculate Kendall's tau |
pct.red |
Logical: If TRUE, calculate percent reduction in error |
na.rm |
Logical: If TRUE, remove NA values before computation |
verbosity |
Integer: If > 0, print messages to console |
Object of class regError
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.