cles: cles

Description Usage Arguments Examples

View source: R/cles.r

Description

This function calculates a permutation test version of the common language effect size. Unlike McGraw & Wong's original method, which used an algebraic/normal approximation, this version makes no assumptions about the distribution of the data. Each X observation is paired to each Y observation. The proportion of XY pairs where X is higher than Y is then computed and output. Ties count as 0.5*TRUE. Code adapted from https://janhove.github.io/reporting/2016/11/16/common-language-effect-sizes

Usage

1
cles(variable, group, data, value1 = 1, value2 = 0, runs = 10000)

Arguments

variable

continuous variable

group

dichotomous group

data

data

value1

assignement of group 1

value2

assignement of group 2

runs

max number of permutations

Examples

1
cles("Score", "Condition", data = data)

ianhussey/timesavers documentation built on May 18, 2019, 1:28 a.m.