ppPlot {petersenlab} | R Documentation |
PP Plot.
Description
Normal Probability (P-P) Plot.
Usage
ppPlot(model)
Arguments
model |
The model object of a linear regression model fit using the
|
Details
A normal probability (P-P) plot compares the empirical cumulative distribution to the theoretical cumulative distribution.
Value
Normal probability (P-P) plot.
See Also
https://www.r-bloggers.com/2009/12/r-tutorial-series-graphic-analysis-of-regression-assumptions/
Other plot:
addText()
,
plot2WayInteraction()
,
vwReg()
Other multipleRegression:
lmCombine()
,
plot2WayInteraction()
,
update_nested()
Examples
# Prepare Data
predictor1 <- rnorm(100)
predictor2 <- rnorm(100)
outcome <- rnorm(100)
# Fit Model
lmModel <- lm(outcome ~ predictor1 + predictor2)
# P-P Plot
ppPlot(lmModel)
[Package petersenlab version 1.0.0 Index]