Learn R Programming

RPPanalyzer (version 1.4.9)

curvePredictSigmoid: Sigmoidal curve prediction.

Description

3-parameter sigmoidal curve.

Usage

curvePredictSigmoid(x, params)

Value

The prediction f(x) of the input value(s).

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))).

Examples

Run this code
if (FALSE) {
x <- seq(-5, 5, by=0.1)
y <- curvePredictSigmoid(x, c(alpha=2, beta=1, gamma=1.5))
plot(x, y)
}

Run the code above in your browser using DataLab