name of the independent (input or model) column in frame
title
title to place on plot
...
no unnamed argument, added to force named binding of later arguments.
binWidth
width of histogram bins
hist_color
color of empirical histogram
normal_color
color of matching theoretical normal
mean_color
color of mean line
sd_color
color of 1-standard deviation lines (can be NULL)
Details
Plots the histograms of the empirical distribution and of the matching normal distribution.
Also plots the mean and plus/minus one standard deviation.
Bin width for the histogram is calculated automatically to yield approximately 50 bins across the
range of the data, unless the binWidth argument is explicitly passed in. binWidth is reported
in the subtitle of the plot.
# NOT RUN {set.seed(52523)
d <- data.frame(wt=100*rnorm(100))
PlotDistCountNormal(d,'wt','example')
# no sd linesPlotDistCountNormal(d, 'wt', 'example', sd_color=NULL)
# }