,

Skip to contents


Overview

The metapsyTools package facilitates the calculation of effect sizes and meta-analyses based on the Metapsy database (or databases adhering to the same format).

Databases that are loaded into R using the metapsyData package can automatically be analyzed using the analysis module of the package.


Usage Example

# Load metapsyData
library(metapsyData)

# Load database, filter trials, and analyze
getData("depression-inpatients") %>% 
    filterPoolingData(
      condition_arm1 == "cbt",
      instrument == "bdi") %>% 
    runMetaAnalysis()


Installation

The metapsyTools package lives in a GitHub repository. It can be downloaded using the code below:

if (!require("remotes"))
  install.packages("remotes")

remotes::install_github(
    "metapsy-project/metapsyTools")

More details on how to install and update the package can be found in the installation guide.