View source: R/clanToolsFunctions.R
coefficients.ca | R Documentation |
This function helps get easy access to the uncertainties associated with the fit.
fm <- lm(x~y, data=df)
cc <- coefficents.ca(fm)
print( cc$coeff )
print( cc$u.coeff )
fm |
is a fitted model from lm |
A dataframe with coefficients and uncertainties. coeff is the fitted values and u.coeff is the accociated uncertainties.
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.