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
results tables from repeated-measures ANOVA may contain df and df.residual columns where sometimes the values are whole numbers, sometimes they have two digits after the decimal point, e.g.:
Hi Marius, yes this is a great idea and since great minds thing alike: #51 ;)
It's also been brought up on the pandoc-side, but there seems to be little interest (the issue is 5 years old).
Padding with white space will work in the R console but doesn't translate well into output in the rendered documents, right? So I don't think we should do this in the apa_results_table-object. I think there are three work packages here that we could tackle in separate PRs (and also release separately):
We add the white space in the print method for apa_results-objects. This may require a little thought to figure out which columns should do this. For example, do we also want to do this for conf.int to fix spacing when the signs vary (I think this would be super nice).
Implement the D column using the dcolumn LaTeX package in apa_table(). In many situations you can get by via aligning the colums right if the all have the same number of digits. But this often fails conf.int and the df columns, so a proper fix would be super nice.
In Word this can actually be done by hand, but we could explore if we can get away with white space padding here as well. Unless someone wants to write a Lua filter for this. 😬
Hi @crsh,
results tables from repeated-measures ANOVA may contain
df
anddf.residual
columns where sometimes the values are whole numbers, sometimes they have two digits after the decimal point, e.g.:For better legibility, I wondered whether we should pad the whole numbers with whitespace in
print.apa_results_table()
, such as:What do you think? I would be happy to provide a PR for this one.
The text was updated successfully, but these errors were encountered: