partialR2adj {rr2} | R Documentation |
Adjusted partial R2
Description
Get adjusted partial R2 by comparing a model and its reduced model.
Usage
partialR2adj(
mod,
df.f = summary(mod)$df[1],
mod.r,
df.r = summary(mod.r)$df[1]
)
Arguments
mod |
A linear regression model. |
df.f |
Degree of freedom of the |
mod.r |
A reduced model based on |
df.r |
Degree of freedom of the reduced |
Value
A list of both R2 and adjusted R2 , the latter is not necessary to be between 0 and 1.
[Package rr2 version 1.1.1 Index]