From 17af45b984d348505527140470c7fff204748ea6 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 12 Sep 2025 22:16:13 +0200 Subject: Facilitate centering covariates The motivation for this is to obtain confidence intervals for covariate dependent parameters that are valid for a median/mean value of the covariate. Implementation by adding an argument to the 'saem' function, and adapting the relevant functions working with 'saem' objects. Vignettes, the template and tests were updated to use the new functionality. --- NEWS.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index d3ca5b78..82f6aa4d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # mkin 1.2.10 (unreleased) +## New features + +- 'R/{saem,endpoints,plot.mixed.mmkin}.R': The function 'saem()' gains an argument 'center_covariates'. The functions 'parms', 'endpoints' and 'plot.mixed.mmkin' were adapted, so the user can still specify covariate values on the original, uncentered scale even if a covariate is centered. + ## Bug fixes - 'inst/rmarkdown/templates/hierarchical_kinetics/skeleton/skeleton.Rmd': Make parent model selection more robust @@ -8,7 +12,7 @@ # mkin 1.2.9 (2024-02-13) -## New features +## New features - 'R/plot.mixed.R': Support more than 25 datasets -- cgit v1.2.3