normalErrors | R Documentation |
?
normalErrors(par, data)
par |
A named numeric vector with parameters mu (mean), sigma (standard deviation), offset (a number added everywhere) and scale (multiplication factor), that describe a normal function. |
data |
A data frame with columns x and y: data points to compare to the normal function described by the parameters. |
?
A numeric value: the mean squared error between the data and the evaluated values of the function at the same x-coordinates.
?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.