Learn R Programming

colourvision (version 2.1.0)

logistic: Logistic curve

Description

Generates a logistic curve.

Usage

logistic(x = seq(300, 700, 1), x0, L, k)

Arguments

x

Range.

x0

Midpoint value.

L

Maximum value.

k

Steepness of the curve

Author

Felipe M. Gawryszewski f.gawry@gmail.com

References

https://en.wikipedia.org/wiki/Logistic_function

Examples

Run this code
l<-logistic(x=seq(300,700,1), x0=650, L=50, k=0.04)
plot(l, type="l")

Run the code above in your browser using DataLab