Learn R Programming

psycho (version 0.4.91)

get_R2.lm: R2 and adjusted R2 for Linear Models.

Description

R2 and adjusted R2 for Linear Models.

Usage

# S3 method for lm
get_R2(fit, ...)

Arguments

fit

A linear model.

...

Arguments passed to or from other methods.

Examples

Run this code
# NOT RUN {
library(psycho)

fit <- lm(Tolerating ~ Adjusting, data = psycho::affective)

get_R2(fit)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab