Description Usage Arguments Value Examples
Convert a data label such as Gigabyte to an abbreviated form like 'GB'.
1 |
x |
A vector of data labels. One of: "Petabyte", "Exabyte", "Zettabyte", "Yottabyte") ignoring case or retaining c("b", "B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB") with proper case. |
... |
ignored. |
Returns avector of abbreviated data units.
1 2 3 4 | x <- c("Exabyte", "terabyte", "ZB", "PetaByte", "KB", "byte", "Gigabyte",
"Bit", "GB", "b")
f_data_abbreviation(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.