plot_qq_gam | R Documentation |
This is a clone of the appraise
function in the gratia
package (rewritten to avoid depending on gratia
package for these plots). This function will plot 4 diagnostic plots when given a generalised additive model fitted with ga_model
or mgcv
. It creates graphs that use grafify
colours and theme_grafify()
.
plot_qq_gam(
Model,
symsize = 2,
s_colour = "#E69F00",
s_alpha = 0.6,
line_col = "black",
base_size = 12,
linethick,
n_bins = c("sturges", "scott", "fd")
)
Model |
a model of class |
symsize |
size of symbols (default = 2) |
s_colour |
colour of symbols (default = |
s_alpha |
opacity of symbols (default = 0.8) |
line_col |
colour of lines (default = |
base_size |
font size for theme (default = 12) |
linethick |
thickness in 'pt' units of lines and symbol orders (default = base_size/22) |
n_bins |
one of either "sturges", "scott", "fd" |
This function returns an object of classes "ggplot" and "gg".
This function returns a ggplot2
object of class "gg" and "ggplot".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.