Greetings,
I am trying to change the accuracy of the numbers in gt_plt_bar scale_type = "number" to an accuracy of .01. The documentation states: "then the numbers in the plotted column will be added as a bar-label and formatted according to scales::label_percent() or scales::label_number()"
Where/how do I do this?
library(scales)
library(gt)
library(gtExtras)
gt_plt_bar_tab <- mtcars %>%
head() %>%
gt() %>%
gt_plt_bar(column = wt, keep_column = TRUE, scale_type = "number")
Thanks