View source: R/kinfitr_miscfuncs.R
get_se | R Documentation |
This function returns the SE of parameters, as a proportion of their parameter estimates, calculated using the delta method as implemented in the car package. If the parameter does not exist, this function will return NA.
get_se(fit, expression)
fit |
A fit object for a particular model - in this case the actual lm or nls object |
expression |
The expression for which the SE is being calculated |
The SE as a proportion of the parameter estimate.
Granville J Matheson, mathesong@gmail.com
data(mtcars)
a <- lm(mpg ~ cyl + disp, data=mtcars)
get_se(a, "cyl")
get_se(a, "cyl/disp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.