if (FALSE) {
# using the example data from Anderson et al. 2010 and fitting the default model
# (note that the model can take a while to fit)
fit <- RoBMA(r = Anderson2010$r, n = Anderson2010$n, study_names = Anderson2010$labels)
### ggplot2 version of all of the plots can be obtained by adding 'model_type = "ggplot"
# the forest function creates a forest plot for a fitted RoBMA object, for example,
# the forest plot for the individual studies and the model-averaged effect size estimate
forest(fit)
# the conditional effect size estimate
forest(fit, conditional = TRUE)
# or transforming the effect size estimates to Fisher's z
forest(fit, output_scale = "fishers_z")
}
Run the code above in your browser using DataLab