curvePredictSigmoid | R Documentation |
3-parameter sigmoidal curve.
curvePredictSigmoid(x, params)
x |
Input value(s). |
params |
Parameter vector containing three parameters alpha, beta and gamma. |
The model is defined as alpha + beta*(2^(x*gamma))/(1+2^(x*gamma)))
.
The prediction f(x) of the input value(s).
## Not run:
x <- seq(-5, 5, by=0.1)
y <- curvePredictSigmoid(x, c(alpha=2, beta=1, gamma=1.5))
plot(x, y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.