Changelog
Source:NEWS.md
tern.mmrm 0.3.0
CRAN release: 2023-12-14
Adapt to release 0.3 of the mmrm
package.
New features
- Any additional arguments can be passed now via
...
tommrm::mmrm
when callingfit_mmrm
. In particular, themethod
argument allows to choose Kenward-Roger adjustment of degrees of freedom and coefficients covariance matrix.
tern.mmrm 0.2.1
Breaking changes
- Completed refactoring of the computations to use the new
mmrm
package instead oflme4
andlmerTest
. This greatly increases convergence and speed. Different covariance structures and optimizers are now available compared to before.
New features
- Added function
g_covariance()
to visualize a covariance matrix, which can be helpful for choosing or visualizing the covariance structure in the MMRM. - Added option
averages_emmeans
tofit_mmrm()
which allows estimation of least square means for averages of visits. - Added weights option for fitting MMRMs.
Enhancements
- Added option
accept_singular
tofit_mmrm()
which allows estimation of rank-deficient models (likelm()
andgls()
) by omitting the columns of singular coefficients from the design matrix. - Added options
show_lines
andxlab
tog_mmrm_lsmeans()
which allow the addition of lines connecting the estimates, as well as a custom x-axis label. - Added options
table_stats
,table_formats
,table_labels
,table_font_size
, andtable_rel_height
tog_mmrm_lsmeans()
which allow the addition of and configure the appearance of an LS means estimates statistics table below the LS means estimates plot. - Added options
constant_baseline
andn_baseline
tog_mmrm_lsmeans()
which allow plotting of a constant baseline value and specifying the corresponding number of patients (visible in the optional table) for the LS means plots.