Summary method for the evalreg function
# S3 method for evalreg summary(object, dec = 3, ...)
object | Return value from |
---|---|
dec | Number of decimals to show |
... | further arguments passed to or from other methods |
See https://radiant-rstats.github.io/docs/model/evalreg.html for an example in Radiant
evalreg
to summarize results
plot.evalreg
to plot results
data.frame(price = diamonds$price, pred1 = rnorm(3000), pred2 = diamonds$price) %>% evalreg(pred = c("pred1", "pred2"), "price") %>% summary()#> Evaluate predictions for regression models #> Data : . #> Results for : All #> Predictors : pred1, pred2 #> Response : price #> #> Type Predictor n Rsq RMSE MAE #> All pred1 3,000 0.000 5,560.413 3,907.203 #> All pred2 3,000 1.000 0.000 0.000