library(tidyverse)
library(wakefield)
library(rdrobust)
library(rddensity)
library(broom)
library(huxtable)
# Make fake data
set.seed(1234)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# W. Kyle Hamilton | Universtiy of California, Merced | |
# kylehamilton.com | |
library(metafor) | |
author <- | |
c("Mitja et al 2020", | |
"Boulware et al 2020", | |
"Rajasingham et al 2020", | |
"Abella et al 2020") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Script based on Carter & McCullough (2014) doi: 10.3389/fpsyg.2014.00823 | |
#Load Libraries | |
library(meta) | |
library(metafor) | |
#Insert effect sizes and sample sizes | |
es.d<-c(0.38,0.41,-0.14,0.63,0.22) | |
n1<-c(75,48,22,18,60) | |
n2<-c(75,52,21,20,55) |