aboutsummaryrefslogtreecommitdiff
path: root/R/DFOP.solution.R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-03-15 15:54:14 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-03-15 15:54:14 +0000
commit1718d434efae26de02754c6622c43f4dc9e624b9 (patch)
treec2dafe942f65e94cd43e1ba17933b667f284d154 /R/DFOP.solution.R
parent2b244ef7d3cbebaaa653d8c8ac87090e34525f7a (diff)
Update kinfit and mkin to the latest version published on BerliOS.
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@17 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
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 00000000..8531cfed
--- /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