ztable
ztable copied to clipboard
digits in flextable do not work following ztable2flextable
This works as expected (no decimal places on 6th column):
head(mtcars) %>%
flextable() %>%
colformat_double(j=6, digits = 0)
This doesn't work as expected (significant digits showing after the decimal in the 6th column):
ztable(head(mtcars)) %>%
makeHeatmap(palette="YlOrRd",cols=c(1,3,4),margin=2) %>%
ztable2flextable() %>%
colformat_double(j=6, digits = 0)