The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


updates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
updates [2021/06/09 12:58] Wolfgang Viechtbauerupdates [2022/04/21 15:35] Wolfgang Viechtbauer
Line 2: Line 2:
  
 On this page, you can find a description of the (recent) updates to the metafor package. Older updates are archived [[updates_old|here]]. On this page, you can find a description of the (recent) updates to the metafor package. Older updates are archived [[updates_old|here]].
 +
 +==== Version 3.4-0 (2022-04-21) ====
 +
 +  * added ''misc-models'', ''misc-recs'', and ''misc-options'' help pages
 +  * added ''as.data.frame.confint.rma()'' and ''as.data.frame.list.confint.rma'' methods
 +  * ''permutest()'' can now also do permutation tests for location-scale models; it also always returns the permutation distributions; hence, argument ''retpermdist'' was removed
 +  * added ''plot.permutest.rma.uni()'' function to plot the permutation distributions
 +  * simplified ''regtest()'', ''ranktest()'', and ''tes()'' to single functions instead of using generics and methods; this way, a ''data'' argument could be added
 +  * added ''vcalc()'' and ''blsplit()'' functions
 +  * ''robust()'' gains ''clubSandwich'' argument; if set to ''TRUE'', the methods from the ''clubSandwich'' package (https://cran.r-project.org/package=clubSandwich) are used to obtain the cluster-robust results; ''anova.rma()'' and ''predict.rma()'' updated to work appropriately in this case
 +  * results from ''robust()'' are no longer printed with ''print.robust.rma()'' but with the print methods ''print.rma.uni()'' and ''print.rma.mv()''
 +  * ''anova.rma()'' now gives a warning when running LRTs not based on ML/REML estimation and gains ''rhs'' argument; it also now has a ''refit'' argument (to refit REML fits with ML in case the fixed effects of the models differ)
 +  * setting ''dfs="contain"'' in ''rma.mv()'' automatically sets ''test="t"'' for convenience
 +  * elements of ''rho'' and ''phi'' in ''rma.mv()'' are now based on the lower triangular part of the respective correlation matrix (instead of the upper triangular part) for consistency with other functions; note that this is in principle a backwards incompatible change, although this should only be a concern in very special circumstances
 +  * ''rma.mv()'' gains ''cvvc'' argument (for calculating the var-cov matrix of the variance/correlation/covariance components)
 +  * added measure ''"MPORM"'' to ''escalc()'' for computing marginal log odds ratios based on marginal 2x2 tables directly (which requires specification of the correlation coefficients in the paired tables for the calculation of the sampling variances via the ''ri'' argument)
 +  * added measure ''"REH"'' to ''escalc()'' for computing the (log transformed) relative excess heterozygosity (to assess deviations from the Hardy-Weinberg equilibrium)
 +  * ''aggregate.escalc()'' gains ''checkpd'' argument and ''struct="CS+CAR"''
 +  * ''rma.glmm()'' now has entire array of optimizers available for ''model="CM.EL"'' and ''measure="OR"''; switched the default from ''optim()'' with method ''BFGS'' to ''nlminb()'' for consistency with ''rma.mv()'', ''rma.uni()'', and ''selmodel.rma.uni()''
 +  * ''rma.glmm()'' gains ''coding'' and ''cor'' arguments and hence more flexibility how the group variable should be coded in the random effects structure and whether the random study effects should be allowed to be correlated with the random group effects
 +  * ''rma.uni()'' now also provides R^2 for fixed-effects models
 +  * ''matreg()'' can now also analyze a covariance matrix with a corresponding ''V'' matrix; can also specify variable names (instead of indices) for arguments ''x'' and ''y''
 +  * renamed argument ''nearPD'' to ''nearpd'' in ''matreg()'' (but ''nearPD'' continues to work)
 +  * ''plot.profile.rma()'' gains ''refline'' argument
 +  * added ''addpoly.rma.predict()'' method
 +  * ''addpoly.default()'' and ''addpoly.rma()'' gain ''lty'' and ''annosym'' arguments; if unspecified, arguments ''annotate'', ''digits'', ''width'', ''transf'', ''atransf'', ''targs'', ''efac'', ''fonts'', ''cex'', and ''annosym'' are now automatically set equal to the same values that were used when creating the forest plot
 +  * documented ''textpos'' and ''rowadj'' arguments for the various ''forest'' functions and moved the ''top'' and ''annosym'' arguments to 'additional arguments'
 +  * fixed that ''level'' argument in ''addpoly.rma()'' did not affect the CI width
 +  * ''points.regplot()'' function now also redraws the labels (if there were any to begin with)
 +  * added ''lbfgsb3c'', ''subplex'', and ''BBoptim'' as possible optimizer in ''rma.mv()'', ''rma.glmm()'', ''rma.uni()'', and ''selmodel.rma.uni()''
 +  * the object returned by model fitting functions now includes the data frame specified via the ''data'' argument; various method functions now automatically look for specified variables within this data frame first
 +  * datasets moved to the `metadat` package (https://cran.r-project.org/package=metadat)
 +  * improved the documentation a bit
  
 ==== Version 3.0-2 (2021-06-02) ==== ==== Version 3.0-2 (2021-06-02) ====
  
-  * the metafor package now makes use of the ''mathjaxr'' package to nicely render equations shown in the HTML help pages+  * the ''metafor'' package now makes use of the ''mathjaxr'' package to nicely render equations shown in the HTML help pages
   * ''rma()'' can now also fit location-scale models   * ''rma()'' can now also fit location-scale models
   * added ''selmodel()'' for fitting a wide variety of selection models (and added the corresponding ''plot.rma.uni.selmodel()'' function for drawing the estimated selection function)   * added ''selmodel()'' for fitting a wide variety of selection models (and added the corresponding ''plot.rma.uni.selmodel()'' function for drawing the estimated selection function)
Line 157: Line 190:
   * added more tests (but disabled a few tests on CRAN to avoid some issues when R is compiled with ''%%--%%disable-long-double'')   * added more tests (but disabled a few tests on CRAN to avoid some issues when R is compiled with ''%%--%%disable-long-double'')
   * some general code cleanup   * some general code cleanup
-  * renamed diagram_metafor.pdf vignette to just diagram.pdf+  * renamed ''diagram_metafor.pdf'' vignette to just ''diagram.pdf''
   * minor updates in the documentation   * minor updates in the documentation
  
 ==== Version 1.9-9 (2016-09-25) ==== ==== Version 1.9-9 (2016-09-25) ====
  
-  * started to use git as version control system, GitHub to host the repository (https://github.com/wviechtb/metafor) for the development version of the package, Travis CI as continuous integration service (https://travis-ci.org/wviechtb/metafor), and Codecov for automated code coverage reporting (https://codecov.io/github/wviechtb/metafor)+  * started to use git as version control system, GitHub to host the repository (https://github.com/wviechtb/metafor) for the development version of the package, Travis CI as continuous integration service (https://travis-ci.org/wviechtb/metafor), and Codecov for automated code coverage reporting (https://app.codecov.io/gh/wviechtb/metafor)
   * argument ''knha'' in ''rma.uni()'' and argument ''tdist'' in ''rma.glmm()'' and ''rma.mv()'' are now superseded by argument ''test'' in all three functions; for backwards compatibility, the ''knha'' and ''tdist'' arguments still work, but are no longer documented   * argument ''knha'' in ''rma.uni()'' and argument ''tdist'' in ''rma.glmm()'' and ''rma.mv()'' are now superseded by argument ''test'' in all three functions; for backwards compatibility, the ''knha'' and ''tdist'' arguments still work, but are no longer documented
   * ''rma(yi, vi, weights=1, test="knha")'' now yields the same results as ''rma(yi, vi, weighted=FALSE, test="knha")'' (but use of the Knapp and Hartung method in the context of an unweighted analysis remains an experimental feature)   * ''rma(yi, vi, weights=1, test="knha")'' now yields the same results as ''rma(yi, vi, weighted=FALSE, test="knha")'' (but use of the Knapp and Hartung method in the context of an unweighted analysis remains an experimental feature)
updates.txt · Last modified: 2024/03/29 09:58 by Wolfgang Viechtbauer