ggally_nostic_std_resid | R Documentation |
ggnostic
standardized residualsIf non-null pVal
and sigma
values are given, confidence interval lines will be added to the plot at the specified pVal
locations of a N(0, 1) distribution.
ggally_nostic_std_resid(data, mapping, ..., sigma = 1)
data , mapping , ... |
parameters supplied to |
sigma |
sigma value for the |
ggplot2 plot object
stats::rstandard()
# Small function to display plots only if it's interactive
p_ <- GGally::print_if_interactive
dt <- broomify(stats::lm(mpg ~ wt + qsec + am, data = mtcars))
p_(ggally_nostic_std_resid(dt, ggplot2::aes(wt, .std.resid)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.