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

Contact - Imprint