Learn R Programming

insurancerating (version 0.7.5)

autoplot.bootstrap_rmse: Automatically create a ggplot for objects obtained from bootstrap_rmse()

Description

Takes an object produced by bootstrap_rmse(), and plots the simulated RMSE

Usage

# S3 method for bootstrap_rmse
autoplot(object, fill = NULL, color = NULL, ...)

Value

a ggplot object

Arguments

object

bootstrap_rmse object produced by bootstrap_rmse()

fill

color to fill histogram (default is "steelblue")

color

color to plot line colors of histogram

...

other plotting parameters to affect the plot

Author

Martin Haringa