I have ran a set regression in r and collected some of the statistics in a data frame format: variable|coefficient|s.e.|p-val|control|....| I am now writing that table using a template on my desktop saved as template.txt. When I write it in the following format it distorts the display so that values which should be displayed as [0.000] are displayed as [0]. Not a very critical problem but it messes up the aesthetic. Any way I can solve this?:
writetab(filename ="/Users/xx/Dropbox/project/tabfig/tables/overall_regs.tex", values = overall_regs, template="/Users/xx/Dropbox/project/templates/overall_regs.txt")
digitsinxtableyou can control the decimals of each column in a table. There are many examples here, there and elsewhere. – Fran Mar 01 '23 at 18:38