r2: Convert between adjusted and non adjusted R2

Description Usage Arguments Value See Also

Description

Convert between adjusted and non adjusted R2

Usage

1
2
3
adj.r2(r2, n, p)

unadj.r2(adj.r2, n, p)

Arguments

r2

(nonadjusted) R2 value

n

sample size

p

number of parameters in linear model

adj.r2

adjusted R2 value

Value

numeric vector of length one

See Also

https://en.wikipedia.org/wiki/Coefficient_of_determination#Adjusted_R2


eribul/r2samplesize documentation built on May 16, 2019, 8:25 a.m.