combine_esc: Combine one or more 'esc' objects into a data frame

Description Usage Arguments Value See Also Examples

View source: R/combine_esc.R

Description

This method takes one or more objects of class esc (which are returned by each effect size calculation function) and returns the combined result as a single data frame. This can then be used for further computation, e.g. with the rma-function of the metafor-package.

Usage

1

Arguments

...

One or more objects of class esc

Value

A data frame with all relevant information from the effect size calculation.

See Also

write_esc

Examples

1
2
3
4
5
6
7
8
9
e1 <- esc_2x2(grp1yes = 30, grp1no = 50, grp2yes = 40,
              grp2no = 45, study = "Study 1")
e2 <- esc_2x2(grp1yes = 30, grp1no = 50, grp2yes = 40, grp2no = 45,
              es.type = "or", study = "Study 2")
e3 <- esc_t(p = 0.03, grp1n = 100, grp2n = 150, study = "Study 3")
e4 <- esc_mean_sd(grp1m = 7, grp1sd = 2, grp1n = 50, grp2m = 9, grp2sd = 3,
                  grp2n = 60, es.type = "logit", study = "Study 4")

combine_esc(e1, e2, e3, e4)

esc documentation built on Dec. 4, 2019, 5:07 p.m.