plot.evalreg: Plot method for the evalreg function

Description Usage Arguments Details See Also Examples

View source: R/evalreg.R

Description

Plot method for the evalreg function

Usage

1
2
## S3 method for class 'evalreg'
plot(x, vars = c("Rsq", "RMSE", "MAE"), ...)

Arguments

x

Return value from evalreg

vars

Measures to plot, i.e., one or more of "Rsq", "RMSE", "MAE"

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/model/evalreg.html for an example in Radiant

See Also

evalreg to generate results

summary.evalreg to summarize results

Examples

1
2
3
data.frame(price = diamonds$price, pred1 = rnorm(3000), pred2 = diamonds$price) %>%
  evalreg(pred = c("pred1", "pred2"), "price") %>%
  plot()

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.