Skip to contents

Computes a value based on a logistic function.

Usage

fn_logistic(t, L, k, t0)

Arguments

t

Numeric value.

L

Numeric value.

k

Numeric value.

t0

Numeric value.

Value

A numeric value based on the logistic function.

Details

f(t;L,k,t0)=L1+ek(tt0)

Examples

library(flexFitR)
plot_fn(
  fn = "fn_logistic",
  params = c(L = 100, k = 0.199, t0 = 47.7),
  interval = c(0, 108),
  n_points = 2000
)