# The metafor Package

A Meta-Analysis Package for R

### Site Tools

tips:model_selection_with_glmulti_and_mumin

# Differences

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

 tips:model_selection_with_glmulti_and_mumin [2021/03/16 20:16]Wolfgang Viechtbauer tips:model_selection_with_glmulti_and_mumin [2021/03/16 20:20] (current)Wolfgang Viechtbauer Both sides previous revision Previous revision 2021/03/16 20:20 Wolfgang Viechtbauer 2021/03/16 20:16 Wolfgang Viechtbauer 2021/03/16 20:14 Wolfgang Viechtbauer 2021/03/16 20:13 Wolfgang Viechtbauer 2019/05/02 16:35 external edit 2021/03/16 20:20 Wolfgang Viechtbauer 2021/03/16 20:16 Wolfgang Viechtbauer 2021/03/16 20:14 Wolfgang Viechtbauer 2021/03/16 20:13 Wolfgang Viechtbauer 2019/05/02 16:35 external edit Line 289: Line 289: ==== Using the MuMIn Package ==== ==== Using the MuMIn Package ==== - One disadvantage of the glmulti package is that it requires Java to be installed on the computer (so if you install and load the glmulti package and get an error that the ''rJava'' package could not be loaded, this is likely reflect this missing system requirement). As an alternative, we can also use the MuMIn package. So, let's replicate the results we obtained above. + One disadvantage of the glmulti package is that it requires Java to be installed on the computer (so if you install and load the glmulti package and get an error that the ''rJava'' package could not be loaded, this is likely to reflect this missing system requirement). As an alternative, we can also use the MuMIn package. So, let's replicate the results we obtained above. First, we install and load the MuMIn package and then evaluate some code that generates two necessary helper functions we need so that MuMIn and metafor can interact as necessary: First, we install and load the MuMIn package and then evaluate some code that generates two necessary helper functions we need so that MuMIn and metafor can interact as necessary: