Description Usage Arguments Value Author(s) Examples
Fits a Gaussian curve with known mean and standard deviation to binned data.
1 | fit.gaussian(data,bins,g.mean,g.sd)
|
data |
numeric vector of values of variable |
bins |
a vector giving the breakpoints between histogram cells |
g.mean |
mean of Gaussian distribution |
g.sd |
standard deviation of Gaussian distribution |
counts |
vector of frequencies of the bins |
probs |
vector of fitted probabilities of the bins |
expected |
vector of expected frequencies of the bins |
residual |
vector of simple rootogram residuals |
Jim Albert
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.