Added xlimits
and ylimits
arguments to the g_mmrm_lsmeans
function.
- Replace usage of
scda
andscda.2022
in 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::mmrm
when callingfit_mmrm
. In particular, themethod
argument 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
optimizer
argument when callingfit_mmrm
.
parallelly
is now used internally to handle the determination of available cores.
- 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.
- 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.
- 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.
- Removed dependency on
purrr
,tibble
,scda
andscda.2022
- Changed tests and example apps to use
mmrm_test_data
as sample data. - Updated the license.
- Updated the package authors.
- Starting this separate package by moving out MMRM functionality from
tern
.