rsq.r: r squared to r

rsq.rR Documentation

r squared to r

Description

compute the semi-partial correlation coefficient from delta r squared

Usage

rsq.r(rsq, dir)

Arguments

rsq

delta r squared from regression

dir

r squared is in absolute value, so please supply the empirical direction of the link (+1 or -1)

Examples

# a paper reports delta r squared as .04 and in text describes a negative association
rsq.r(.04, -1)


phoebehlam/michaela documentation built on Oct. 23, 2024, 4:10 p.m.