coef_matrix returns the coefficients
element of the summary function, which is a
matrix with columns for the estimated coefficients, their
standard error, t-statistic and corresponding (two-sided)
p-values.
Usage
coef_matrix(object)
Value
A \(p \times 4\) matrix with columns for the
estimated coefficient, its standard error, t-statistic
and corresponding (two-sided) p-value. Aliased
coefficients are omitted. The additional class
coef_matrix is added for custom printing.
Arguments
object
an object of class "lm", usually, a result of a
call to lm.