Learn R Programming

RPPanalyzer (version 1.3)

curvePredictSigmoid: 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.

Value

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

Details

The model is defined as alpha + beta*(2^(x*gamma))/(1+2^(x*gamma))).

Examples

Run this code
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