.validate_and_prepare_gkwreg_diagnostics | R Documentation |
Validate inputs and prepare diagnostic data for gkwreg plots
.validate_and_prepare_gkwreg_diagnostics(
x,
which,
caption,
type = c("quantile", "pearson", "deviance"),
family = NULL,
nsim = 100,
level = 0.9,
use_ggplot = FALSE,
arrange_plots = FALSE,
sample_size = NULL,
theme_fn = ggplot2::theme_minimal
)
x |
A fitted model object of class "gkwreg" |
which |
Integer vector specifying which plots to produce |
caption |
Character vector of plot captions |
type |
Character string specifying residual type |
family |
Character string specifying distribution family |
nsim |
Number of simulations for envelope calculation |
level |
Confidence level for envelope |
use_ggplot |
Logical; whether to use ggplot2 |
arrange_plots |
Logical; whether to arrange multiple plots |
sample_size |
Integer or NULL; sample size for large datasets |
theme_fn |
ggplot2 theme function |
A list containing diagnostic data and model information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.