Learn R Programming

RESI (version 1.2.4)

Rsq2S: Covert R^2 to S

Description

Converts R^2, the partial coefficient of determination, to robust effect size index (S) using the formula from Vandekar, Tao, & Blume (2020).

Usage

Rsq2S(Rsq)

Value

Returns an estimate of R^2 based on the RESI

Arguments

Rsq

Numeric, R^2

Details

The formula for the conversion is:

\(S = \sqrt((-R^2)/(R^2 - 1))\)

Examples

Run this code
# consider a moderate effect size of R^2 = 0.1
Rsq2S(0.1)
# this corresponds to a RESI of 0.333

Run the code above in your browser using DataLab