aboutsummaryrefslogtreecommitdiff
path: root/R/endpoints.R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-18 22:11:49 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-18 22:11:49 +0000
commitfa10b85d6bb964742d2c5a3e3f633a5238c43d56 (patch)
tree7497bddd9937aee3989db75cae5bbdff3fae9146 /R/endpoints.R
parent67860242fc619624421a8fd96ba9e385456a9c2d (diff)
- Completion of the multicompartment part of the mkin examples vignette
- Fix to chi2 error level calculation by correctly returning backtransformed parameters as bparms.optim and bparms.fixed - Adaptations of unit tests, summary and plot functions git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@67 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'R/endpoints.R')
-rw-r--r--R/endpoints.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/endpoints.R b/R/endpoints.R
index 98e290d..163dc8d 100644
--- a/R/endpoints.R
+++ b/R/endpoints.R
@@ -3,7 +3,7 @@ endpoints <- function(fit, pseudoDT50 = FALSE) {
# fractions and SFORB eigenvalues from optimised parameters
ep <- list()
obs_vars <- fit$obs_vars
- parms.all <- fit$parms.all
+ parms.all <- fit$bparms.ode
ep$distimes <- data.frame(DT50 = rep(NA, length(obs_vars)),
DT90 = rep(NA, length(obs_vars)),
row.names = obs_vars)

Contact - Imprint