absorb | R Documentation |
Function to pass to lfe::getfe() function to return intercept as in arge function in Stata
absorb(gamma, addnames, .FE)
gamma |
A numeric vector of FE estimates from lfe::felm(). |
addnames |
A character vector of FE level names. |
.FE |
A numeric vector of FE from the data. |
Returns scalar vector of length one.
## Not run: icpt <- unname(
plyr::name_rows(
lfe::getfe(fit, ef = absorb, se = T, bN = 1000)
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.