fixest
fixest copied to clipboard
Function to extract name of dependent variable
Would it be possible for you to add a function to extract the name of the dependent variable? Right now I use
str_split(formula(model), "~")[[2]]
but it would be nice to have an extractor function akin to nobs(), tstat(), etc. My main use here is to plot the results in ggplot2, which requires me to first tidy up all the relevant labels and numbers in a data.frame (or tibble).
Outstanding package, by the way!
Without trying to deflect the specific request, does ggiplot handle your use-case? http://grantmcdermott.com/ggiplot/