Learn R Programming

insurancerating (version 0.7.5)

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

Description

Takes an object produced by check_residuals(), and produces a uniform quantile-quantile plot.#'

Usage

# S3 method for check_residuals
autoplot(object, show_message = TRUE, ...)

Value

a ggplot object

Arguments

object

check_residuals object produced by check_residuals()

show_message

show output from test (defaults to TRUE)

...

other plotting parameters to affect the plot

Author

Martin Haringa