Skip to content

Releases: insightsengineering/tern.mmrm

v0.3.2 cran

23 Sep 04:56
a3b28ee
Compare
Choose a tag to compare

Miscellaneous

Added xlimits and ylimits arguments to the g_mmrm_lsmeans function.

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1 cran

12 Jun 08:37
02ea937
Compare
Choose a tag to compare

Miscellaneous

  • Replace usage of scda and scda.2022 in vignettes with random.cdisc.data.
  • Change package maintainer to Joe Zhu.

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0 cran

17 Dec 20:07
f758702
Compare
Choose a tag to compare
  • 0.3.0

What's Changed

New Contributors

  • @m7pr made their first contribution in #150

Full Changelog: v0.2.2...v0.3.0

v0.2.2

29 Nov 14:42
d3bd680
Compare
Choose a tag to compare

Adapt to version 0.2.2 of the mmrm package.

New features

  • Any additional arguments can be passed now via ... to mmrm::mmrm when
    calling fit_mmrm. In particular, the method argument allows to choose
    Kenward-Roger adjustment of degrees of freedom and coefficients covariance
    matrix.

Breaking changes

  • The optimizer interface is different now: For choosing automatically the right
    optimizer, just omit the optimizer argument when calling fit_mmrm.

Miscellaneous

  • parallelly is now used internally to handle the determination of available cores.

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

14 Oct 10:51
233e3f3
Compare
Choose a tag to compare

Breaking changes

  • Completed refactoring of the computations to use the new mmrm package instead
    of lme4 and lmerTest. 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 to fit_mmrm() which allows estimation of
    least square means for averages of visits.
  • Added weights option for fitting MMRMs.

Enhancements

  • Added option accept_singular to fit_mmrm() which allows estimation of
    rank-deficient models (like lm() and gls()) by omitting the columns
    of singular coefficients from the design matrix.
  • Added options show_lines and xlab to g_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,
    and table_rel_height to g_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 and n_baseline to g_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.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

17 Aug 04:11
d242723
Compare
Choose a tag to compare

Breaking changes

  • Complete refactoring of the computations, which now use the new mmrm
    package instead of lme4 and lmerTest. This increases convergence
    and speed substantially. Different covariance structures and optimizers are
    therefore now available compared to before.

New features

  • Added function g_covariance() which visualizes a covariance matrix, which
    can be helpful for choosing or visualizing the covariance structure in the MMRM.
  • Added option average_emmeans to fit_mmrm() which allows to estimate
    least square means for averages of visits.

Enhancements

  • Added option accept_singular to fit_mmrm() which allows to estimate
    rank-deficient models (similar as lm() and gls() do) by omitting the columns
    of singular coefficients from the design matrix.
  • Added options show_lines and xlab to g_mmrm_lsmeans()
    which offer 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,
    table_rel_height to g_mmrm_lsmeans which offer the addition of LS means
    estimates statistics table below the LS means estimates plot, and control the
    appearance details of it.
  • Added options constant_baseline and n_baseline to g_mmrm_lsmeans()
    which allow to plot a constant baseline value and to specify the
    corresponding number of patients (visible in the optional table) for the LS means
    plots.

v0.1.1

09 Jun 14:30
4292560
Compare
Choose a tag to compare
  • Removed dependency on purrr, tibble, scda and scda.2022
  • Changed tests and example apps to use mmrm_test_data as sample data.
  • Updated the Satterthwaite DF Example vignette.
  • Updated the license.
  • Updated the package authors.