Rsq2S: Covert R^2 to S

View source: R/Rsq2S.R

Rsq2SR Documentation

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)

Arguments

Rsq

Numeric, R^2

Details

The formula for the conversion is:

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

Value

Returns an estimate of R^2 based on the RESI

Examples

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

RESI documentation built on April 3, 2025, 5:26 p.m.