SSgaussAre | R Documentation |
Area version of gaussian function.
SSgaussAre(input,y0,A,xc,w)
input |
a numeric vector of values at which to evaluate the model. |
y0 |
offset |
A |
area |
xc |
center |
w |
width |
a numeric vector of the same length as input. It is the value of the expression y0+(A/(w*sqrt(pi/2)))*exp(-2*(x-xc)^2/(w^2)).
This is primarily intended for use in formulae given to the nls
function or similar functions for example mle2
.
Krzysztof Trajkowski
Origin: http://www.originlab.com/doc/Origin-Help/Gauss-FitFunc.
selfStart
, getInitial
data(smoking)
model <- nlsLM(Germany ~ SSgaussAre(year,y0,A,xc,w),data=smoking)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.