powered by
If non-null pVal and sigma values are given, confidence interval lines will be added to the plot at the specified pVal percentiles of a N(0, sigma) distribution.
pVal
sigma
ggally_nostic_resid(data, mapping, ..., linePosition = 0, lineColor = brew_colors("grey"), lineSize = 0.5, lineAlpha = 1, lineType = 1, lineConfColor = brew_colors("grey"), lineConfSize = lineSize, lineConfAlpha = lineAlpha, lineConfType = 2, pVal = c(0.025, 0.975), sigma = attr(data, "broom_glance")$sigma, se = TRUE, method = "auto")
parameters supplied to ggally_nostic_line
ggally_nostic_line
parameters supplied to ggplot2::geom_line
ggplot2::geom_line
parameters supplied to the confidence interval lines
percentiles of a N(0, sigma) distribution to be drawn
sigma value for the pVal percentiles
boolean to determine if the confidence intervals should be displayed
parameter supplied to ggplot2::geom_smooth. Defaults to "auto"
ggplot2::geom_smooth
"auto"
ggplot2 plot object
stats::residuals
# NOT RUN { dt <- broomify(stats::lm(mpg ~ wt + qsec + am, data = mtcars)) ggally_nostic_resid(dt, ggplot2::aes(wt, .resid)) # }
Run the code above in your browser using DataLab