stdEr {miscTools} | R Documentation |
Extract standard deviations from estimated models.
stdEr(x, ...)
## Default S3 method:
stdEr(x, ...)
## S3 method for class 'lm'
stdEr(x, ...)
x |
a statistical model, such as created by |
... |
further arguments for methods |
stdEr
is a generic function with methods for objects of "lm"
class. The default method returns the square root of the diagonal of
the variance-covariance matrix.
numeric, the estimated standard errors of the coefficients.
Ott Toomet otoomet@ut.ee
data(cars)
lmRes <- lm(dist ~ speed, data=cars)
stdEr( lmRes )