powered by
Extract standard deviations from estimated models.
stdEr(x, ...) # S3 method for default stdEr(x, …) # S3 method for lm stdEr(x, …)
a statistical model, such as created by lm
lm
further arguments for methods
numeric, the estimated standard errors of the coefficients.
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.
stdEr
vcov, summary.
vcov
summary
# NOT RUN { data(cars) lmRes <- lm(dist ~ speed, data=cars) stdEr( lmRes ) # }
Run the code above in your browser using DataLab