r_squared_from_lm_fit_: R^2 from 'lm.fit' output.

Description Usage Arguments

Description

r_squared_from_lm_fit_ calculates R^2 (plain or adjusted) from the output of lm.fit.

Usage

1
r_squared_from_lm_fit_(obj, intercept = TRUE, is_adj = FALSE)

Arguments

obj

List: output from lm.fit.

intercept

Logical: does the model contain an intercept?

is_adj

Logical: do you need the adjusted R^2?


max-sokolov/fmreg documentation built on May 21, 2019, 1:38 p.m.