r.squared.lm: Marginal r-squared for lm objects

Description Usage Arguments Value

View source: R/rsquaredglm.R

Description

This method uses r.squared from summary as the marginal. Contrary to other r.squared methods, this one doesn't call rsquared.glmm

Usage

1
2
## S3 method for class 'lm'
r.squared(mdl)

Arguments

mdl

an lm object (usually fit using lm,

Value

a dataframe with with "Class" = "lm", "Family" = "gaussian", "Marginal" = unadjusted r-squared, "Conditional" = NA, and "AIC" columns


GabrielPigeon/gabtool documentation built on May 6, 2019, 5:32 p.m.