hedges_g: Compute Effect Sizes for Pairwise Comparisons

Description Usage Arguments Value Examples

View source: R/hedges_g.R

Description

This function computes pairwise independent effect sizes (Hedges' g and g*) for a continuous variable based on a grouping variable.

Usage

1
2
3
4
5
6
7
8
hedges_g(
  data,
  id = NULL,
  grouping_factor,
  variable,
  paired = FALSE,
  detailed = FALSE
)

Arguments

data

Data frame containing the data

id

Subject identifier

grouping_factor

Factor, used for the comparisons between groups

variable

Numeric, the dependent variable

paired

Indicator, if repeated measures effect sizes should be used. Default is FALSE.

detailed

Indicator, if detailed information (such as means, standard deviations, etc.) should be returned. Default ist FALSE

Value

A tibble

Examples

1
hedges_g(data = phantasialand, grouping_factor = backpack, variable = joy)

benediktclaus/costatcompanion documentation built on Nov. 23, 2020, 7:01 a.m.