Skip to contents

[Deprecated]

Usage

sr2(model, ...)

Arguments

model

An lm model.

...

Arguments passed to lm. these can be subset and na.action.

Value

A data frame with the effect size.

Details

Compute the semi-partial correlation squared (also known as the delta R2), for a lm model.

Examples

if (FALSE) {
m <- lm(mpg ~ cyl + disp + hp * drat, data = mtcars)
sr2(m)
}