From d89e3d22eb9dc383897b09e9c5aa1b57f65cdbf0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 21 Feb 2019 14:34:45 +0100 Subject: Add the logistic model --- R/logistic.solution.R | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 R/logistic.solution.R (limited to 'R/logistic.solution.R') diff --git a/R/logistic.solution.R b/R/logistic.solution.R new file mode 100644 index 00000000..a3bddab3 --- /dev/null +++ b/R/logistic.solution.R @@ -0,0 +1,4 @@ +logistic.solution <- function(t, parent.0, kmax, k0, r) +{ + parent = parent.0 * (kmax / (kmax - k0 + k0 * exp (r * t))) ^(kmax/r) +} -- cgit v1.2.3