ppPlot | R Documentation |
Normal Probability (P-P) Plot.
ppPlot(model)
model |
The model object of a linear regression model fit using the
|
A normal probability (P-P) plot compares the empirical cumulative distribution to the theoretical cumulative distribution.
Normal probability (P-P) plot.
https://www.r-bloggers.com/2009/12/r-tutorial-series-graphic-analysis-of-regression-assumptions/
Other plot:
addText()
,
plot2WayInteraction()
,
semPlotInteraction()
,
vwReg()
Other multipleRegression:
lmCombine()
,
plot2WayInteraction()
,
semPlotInteraction()
,
update_nested()
# Prepare Data
predictor1 <- rnorm(100)
predictor2 <- rnorm(100)
outcome <- rnorm(100)
# Fit Model
lmModel <- lm(outcome ~ predictor1 + predictor2)
# P-P Plot
ppPlot(lmModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.