aboutsummaryrefslogtreecommitdiff
path: root/R/saem.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-12 11:04:45 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-12 11:11:03 +0100
commit7b807680b66269ff911df137f56e26775d84e283 (patch)
tree407c3118ba48580952017244bfba1f9647661271 /R/saem.R
parentc0c82d9523da8965f5fb7a5f8cf1410750885d30 (diff)
mkindsg class to hold groups of datasets
- D24_2014 dataset on aerobic soil degradation of 2,4-D from the EU assessment as mkindsg object with metadata - f_time_norm_focus() to do time-step normalisation using the FOCUS method - focus_soil_moisture data with default moisture contents at pF1, pF 2 and pF 2.5 for USDA soil types from FOCUS GW guidance - Dataset generation scripts in inst/dataset_generation - Depend on R >= 2.15.1 in order to facilitate the use of utils::globalVariables()
Diffstat (limited to 'R/saem.R')
-rw-r--r--R/saem.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/saem.R b/R/saem.R
index f6d487ec..377da903 100644
--- a/R/saem.R
+++ b/R/saem.R
@@ -102,7 +102,7 @@ saem.mmkin <- function(object,
grDevices::png(tmp)
}
fit_time <- system.time({
- capture.output(f_saemix <- saemix::saemix(m_saemix, d_saemix, control), split = !quiet)
+ utils::capture.output(f_saemix <- saemix::saemix(m_saemix, d_saemix, control), split = !quiet)
f_pred <- try(saemix::saemix.predict(f_saemix), silent = TRUE)
if (!inherits(f_pred, "try-error")) {
f_saemix <- f_pred

Contact - Imprint