R/sr2.R
sr2.Rd
sr2(model, ...)
An lm model.
lm
Arguments passed to lm. these can be subset and na.action.
subset
na.action
A data frame with the effect size.
Compute the semi-partial correlation squared (also known as the delta R2), for a lm model.
if (FALSE) { m <- lm(mpg ~ cyl + disp + hp * drat, data = mtcars) sr2(m) }