aboutsummaryrefslogtreecommitdiff
path: root/R/DFOP.solution.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/DFOP.solution.R')
-rw-r--r--R/DFOP.solution.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/R/DFOP.solution.R b/R/DFOP.solution.R
new file mode 100644
index 0000000..8531cfe
--- /dev/null
+++ b/R/DFOP.solution.R
@@ -0,0 +1,5 @@
+DFOP.solution <- function(t, parent.0, k1, k2, g)
+{
+ parent = g * parent.0 * exp(-k1 * t) +
+ (1 - g) * parent.0 * exp(-k2 * t)
+}

Contact - Imprint