diff options
author | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2013-10-10 05:41:59 +0000 |
---|---|---|
committer | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2013-10-10 05:41:59 +0000 |
commit | 2f9b4ee3e956ee36af8a94f9d75bc8fbd9033dbf (patch) | |
tree | 7121e9802e72039ddfb3c97d3395b22d748a1b24 /R/mkinerrmin.R | |
parent | db403f024cc7c6b8b550897a45d93efc9f047e26 (diff) |
- Added a ChangeLog
- Do not use time zero values of 0 for chi2 error level calculations (see changelog)
- Show weighting method in summary
- Correct the output of the data in the case of manual weights
- Some reformatting in mkinfit.R
- GUI: First attempt at representing a fit in the GUI
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@108 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'R/mkinerrmin.R')
-rw-r--r-- | R/mkinerrmin.R | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/R/mkinerrmin.R b/R/mkinerrmin.R index eb9d49c..2b499d9 100644 --- a/R/mkinerrmin.R +++ b/R/mkinerrmin.R @@ -39,6 +39,7 @@ mkinerrmin <- function(fit, alpha = 0.05) errdata <- merge(means, fit$predicted, by = c("time", "name"),
suffixes = c("_mean", "_pred"))
errdata <- errdata[order(errdata$time, errdata$name), ]
+ errdata <- subset(errdata, !(time == 0 & value_mean == 0))
n.optim.overall <- length(parms.optim)
errmin.overall <- kinerrmin(errdata, n.optim.overall)
|