Learn R Programming

insurancerating (version 0.6.3)

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, ...)

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

Value

a ggplot object