resampleCoefficients.lm: Resample the coefficients of a linear model (lm)

Description Usage Arguments Details Value References

Description

Returns a new linear model given their original covariance and uncertainty

Usage

1

Arguments

fit

an lm object whose coefficients should be resampled

Details

(Although the name suggests otherwise, resampleCoefficients is not currently an S3 generic. You should refer to this function by its complete name.)

Value

A new lm object with resampled coefficients such that predict.lm() will make predictions reflecting those new coefficients. No other properties of the returned model are guaranteed.

References

http://www.clayford.net/statistics/simulation-to-represent-uncertainty-in-regression-coefficients/


McDowellLab/loadflex documentation built on May 8, 2019, 9:48 a.m.