curvePredictSigmoid {RPPanalyzer} | 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).
x <- seq(-5, 5, by=0.1) y <- curvePredictSigmoid(x, c(alpha=2, beta=1, gamma=1.5)) plot(x, y)