Skip to contents

Normal Probability (P-P) Plot.

Usage

ppPlot(model)

Arguments

model

The model object of a linear regression model fit using the lm() function.

Value

Normal probability (P-P) plot.

Details

A normal probability (P-P) plot compares the empirical cumulative distribution to the theoretical cumulative distribution.

Examples

# Prepare Data
predictor1 <- rnorm(100)
predictor2 <- rnorm(100)
outcome <- rnorm(100)

# Fit Model
lmModel <- lm(outcome ~ predictor1 + predictor2)

# P-P Plot
ppPlot(lmModel)





Developmental Psychopathology Lab