partialR2adj | R Documentation |
Get adjusted partial R2 by comparing a model and its reduced model.
partialR2adj(
mod,
df.f = summary(mod)$df[1],
mod.r,
df.r = summary(mod.r)$df[1]
)
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 |
A list of both R2 and adjusted R2 , the latter is not necessary to be between 0 and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.