print.coef_matrix {api2lm} | R Documentation |
Print an object of class coef_matrix
produced
by the coef_matrix
function.
Description
Print an object of class coef_matrix
produced
by the coef_matrix
function.
Usage
## S3 method for class 'coef_matrix'
print(x, digits = 2, ...)
Arguments
x |
An |
digits |
the minimum number of significant digits to be used: see
|
... |
Additional arguments to the
|
Value
A p \times 4
matrix with columns for the
estimated coefficient, its standard error, t-statistic
and corresponding (two-sided) p-value.
Author(s)
Joshua French
Examples
fit <- lm(100/mpg ~ disp + hp + wt + am, data = mtcars)
(coefm <- coef_matrix(fit))
# print more digits
print(coefm, digits = 8)
[Package api2lm version 0.2 Index]