setFixest_multi | R Documentation |
fixest_multi
objectsUse this function to change the default behavior of fixest_multi
objects.
setFixest_multi(drop = FALSE)
getFixest_multi()
drop |
Logical scalar, default is |
The function getFixest_multi()
returns the list of settings.
# 1) let's run a multiple estimation
base = setNames(iris, c("y", "x1", "x2", "x3", "species"))
est = feols(y ~ csw(x1, x2, x3), base)
# 2) let's pick a single estimation => by default we have a `fixest_multi` object
class(est[rhs = 2])
# `drop = TRUE` would have led to a `fixest` object
class(est[rhs = 2, drop = TRUE])
# 3) change the default behavior
setFixest_multi(drop = TRUE)
class(est[rhs = 2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.