r2: Extract r2 of linear regression

View source: R/r2.R

r2R Documentation

Extract r2 of linear regression

Description

Extracts the r2 of a linear regression.

Usage

r2(lmfit)

Arguments

lmfit

A linear model fit using lm()

Value

r2 of the linear model fit


cfree14/freeR documentation built on Aug. 22, 2023, 11:12 p.m.