stdCoef: Compute standardized regression coefficients for a linear...

Description Usage Arguments Value Author(s) Examples

View source: R/stdCoef.R

Description

Compute standardized regression coefficients for a linear model

Usage

1
stdCoef(fit)

Arguments

fit

A model fit with lm.

Value

A named vector containing the standardized (beta) coefficients for fit.

Author(s)

Jonah Gabry <jsg2201@columbia.edu>

Examples

1
2
lm.realinc <- lm(realinc ~ age + educ, data = GSS_2010)
stdCoef(lm.realinc)

jgabry/QMSS_package documentation built on May 19, 2019, 7:18 a.m.