curvePredictSigmoid {RPPanalyzer} | R Documentation |
Sigmoidal curve prediction.
Description
3-parameter sigmoidal curve.
Usage
curvePredictSigmoid(x, params)
Arguments
x |
Input value(s). |
params |
Parameter vector containing three parameters alpha, beta and gamma. |
Details
The model is defined as alpha + beta*(2^(x*gamma))/(1+2^(x*gamma)))
.
Value
The prediction f(x) of the input value(s).
Examples
## 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)
[Package RPPanalyzer version 1.4.9 Index]