HughParsonage / grattan

Common quantitative tasks for Australian policy analysts
25 stars 8 forks source link

print_2heading_xtable include.rownames #193

Closed RafaelEduardoDiaz closed 5 years ago

RafaelEduardoDiaz commented 5 years ago

How to include the include.rownames argument in the print_2heading_xtable function is it possible?

example_df <- 
data.frame(yr = 2001:2005, 
          Revenue__foo = 1:5, 
          Revenue__bar = 11:15, 
          Revenue__baz = 21:25, 
          ordinary = 1:5,
          Expense__foo = 1:5,
          Expense__bar = 11:15, 
          Expense__baz = 21:25, 
          Last__foo = 1:5, 
          Last__baz = 2:6,
          last = 101:105)
print_2heading_xtable(example_df, separator = "__", include.rownames = TRUE)
MattCowgill commented 5 years ago

Hi @RafaelEduardoDiaz, the print_2heading_xtable() function now lives in the grattanCharts package. Could you please open an issue over there: https://github.com/HughParsonage/grattanCharts

Thank you