aboutsummaryrefslogtreecommitdiff
path: root/R/logistic.solution.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-02-21 14:34:45 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-02-21 14:50:27 +0100
commitd89e3d22eb9dc383897b09e9c5aa1b57f65cdbf0 (patch)
treee81237fcbd996390eadd439295f2fb4b3874b0ab /R/logistic.solution.R
parentf134599b4d2cd3558b887b7f06faf1dfb599196e (diff)
Add the logistic model
Diffstat (limited to 'R/logistic.solution.R')
-rw-r--r--R/logistic.solution.R4
1 files changed, 4 insertions, 0 deletions
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)
+}

Contact - Imprint