2
I am making a report in . rmd to export to . docx and to mount the tables I am using the package "flextable" , which works for this type of export. The problem is that when I go to assemble the tables the function adds three decimal places and I cannot remove. Example:
df <- data.frame(a = c(0,1,2,3,4,5), b = c("x", "y", "z", "w", "j", "k"))
df %>%
flextable::regulartable()
How can I remove the decimal places from the column to ?
Put the.integer on.()
– Manoel Galdino
Manoel, that worked perfectly, thank you!
– Jessica Voigt