diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-12-09 11:44:58 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-12-09 12:30:43 +0100 |
commit | 00b8c6fb49a5f2fb15022f725fbf3565ccca0eaa (patch) | |
tree | 90ab464ec177927a16c684eefda85cc672c72f2d /inst | |
parent | 54729e55912608fefc1b1be08d01d9cbeb381d12 (diff) |
Fix sorting of tables in results view
Diffstat (limited to 'inst')
-rw-r--r-- | inst/GUI/gmkin.R | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/inst/GUI/gmkin.R b/inst/GUI/gmkin.R index 954fe74..b58f2e7 100644 --- a/inst/GUI/gmkin.R +++ b/inst/GUI/gmkin.R @@ -314,12 +314,14 @@ update_f_conf <- function() { # {{{3 }
update_f_results <- function() { # {{{3
svalue(r.name) <- ftmp$name
- r.parameters[] <- cbind(rownames(stmp$bpar), stmp$bpar[, c(1, 4, 5, 6)])
+ r.parameters[] <- cbind(Parameter = rownames(stmp$bpar), stmp$bpar[, c(1, 4, 5, 6)])
err.min <- 100 * stmp$errmin$err.min
- r.frames.chi2.gt[] <- cbind(rownames(stmp$errmin), signif(err.min, 3),
- stmp$errmin[, c(2, 3)])
+ r.frames.chi2.gt[] <- cbind(Variable = rownames(stmp$errmin),
+ Error = signif(err.min, 3),
+ n.opt = stmp$errmin$n.optim,
+ df = stmp$errmin$df)
if (is.null(stmp$ff)) r.frames.ff.gt[] <- ff.df.empty
- else r.frames.ff.gt[] <- cbind(names(stmp$ff), round(stmp$ff, 4))
+ else r.frames.ff.gt[] <- cbind(Path = names(stmp$ff), ff = round(stmp$ff, 4))
distimes <- format(stmp$distimes, digits = 3)
delete(r.frames.distimes, r.frames.distimes.gt)
delete(r.frames, r.frames.distimes)
|