ztable icon indicating copy to clipboard operation
ztable copied to clipboard

digits in flextable do not work following ztable2flextable

Open dcaud opened this issue 1 year ago • 1 comments

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)

dcaud avatar Nov 21 '22 22:11 dcaud