plotNormalDensity: Density plot with a normal curve
Description
Produces a density plot for a vector of values and adds
a normal curve with the same mean and standard deviation. The
plot can be used to quickly compare the distribution of data
to a normal distribution.
# NOT RUN {### Plot of residuals from a model fit with lmdata(Catbus)
model = lm(Steps ~ Sex + Teacher,
data = Catbus)
plotNormalDensity(residuals(model))
# }