Answers for "R datatable limit decimals"

1

R datatable limit decimals

library(DT)

set.seed(323)
data.frame(x=runif(10), y=rnorm(10), z=rpois(10, 1)) %>%
    datatable() %>%
    formatRound(columns=c('x', 'y'), digits=3)
Posted by: Guest on April-05-2021

Browse Popular Code Answers by Language