diff options
author | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2010-03-30 19:49:44 +0000 |
---|---|---|
committer | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2010-03-30 19:49:44 +0000 |
commit | 12934520d7ec3218ce1505787b6066334a24a562 (patch) | |
tree | e3d3439a63260dfe8fc01037ef297e09e876cc67 /R/DFOP.R |
Initial import of the kinfit package developed from 2008-07 to 2010-03 at
Harlan Laboratories Ltd (former RCC Ltd).
Supports fitting of parent data with the usual FOCUS kinetic models.
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/kinfit@2 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'R/DFOP.R')
-rw-r--r-- | R/DFOP.R | 5 |
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)
+}
|