You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow coefficients to be re-ordered by a vector of regex:
Eg: reorder.coef = c("^log", "^GDP", "^Population")
would put all coefficients that start with "log" on top, then "GDP" and then "Population" coefficients.
Motivation: I routinely have model with some fixed effects and interactions, then I would have to calculate the number of created dummy variables and based on these I could reorder them.
The text was updated successfully, but these errors were encountered:
I'd be open to a pull request if anyone wants to give it a try. The relevant code fragments are the reorder function, potentially the lines in the texreg, screenreg etc functions that call the reorder function, and two places in the plotreg function, which handles reordering in a different way, I think.
Allow coefficients to be re-ordered by a vector of regex:
Eg:
reorder.coef = c("^log", "^GDP", "^Population")
would put all coefficients that start with "log" on top, then "GDP" and then "Population" coefficients.
Motivation: I routinely have model with some fixed effects and interactions, then I would have to calculate the number of created dummy variables and based on these I could reorder them.
The text was updated successfully, but these errors were encountered: