rtablesupversioning.- Replaced the
magrittrpipe (%>%) with the native R pipe (|>) throughout, and removed themagrittrdependency. The package now requires R >= 4.1.
- Created additional tests for plot functions.
- Added
parent_nameparameter to internalrtables::split_rows_by()calls to ensure uniqueness of row names, due to upstreamrtablesenhancements.
- Added
xlimitsandylimitsarguments to theg_mmrm_lsmeansfunction.
- Replace usage of
scdaandscda.2022in vignettes withrandom.cdisc.data. - Change package maintainer to Joe Zhu.
Adapt to release 0.3 of the mmrm package.
- Any additional arguments can be passed now via
...tommrm::mmrmwhen callingfit_mmrm. In particular, themethodargument allows to choose Kenward-Roger adjustment of degrees of freedom and coefficients covariance matrix.
- The optimizer interface is different now: For choosing automatically the right
optimizer, just omit the
optimizerargument when callingfit_mmrm.
parallellyis now used internally to handle the determination of available cores.
- Completed refactoring of the computations to use the new
mmrmpackage instead oflme4andlmerTest. This greatly increases convergence and speed. Different covariance structures and optimizers are now available compared to before.
- 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_emmeanstofit_mmrm()which allows estimation of least square means for averages of visits. - Added weights option for fitting MMRMs.
- Added option
accept_singulartofit_mmrm()which allows estimation of rank-deficient models (likelm()andgls()) by omitting the columns of singular coefficients from the design matrix. - Added options
show_linesandxlabtog_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_heighttog_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_baselineandn_baselinetog_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.
- Removed dependency on
purrr,tibble,scdaandscda.2022 - Changed tests and example apps to use
mmrm_test_dataas sample data. - Updated the license.
- Updated the package authors.
- Starting this separate package by moving out MMRM functionality from
tern.