|>
exibble ::select(num) |>
dplyrgt() |>
fmt_bytes()
num |
---|
0 B |
2 B |
33 B |
444 B |
5.5 kB |
NA |
777 kB |
8.9 MB |
fmt_bytes()
functionUse a single column from the exibble
dataset and create a simple gt table. We’ll use fmt_bytes()
to format the num
column to display as byte sizes in the decimal standard.
Let’s create an analogous table again by using fmt_bytes()
, this time showing byte sizes as binary values by using standard = "binary"
.