View source: R/utils_rounding.R
size | R Documentation |
Digital storage size conversion See object.size
Vectorized version of size
size(
x,
in_unit = "b",
out_unit = c("b", "Kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb")[3]
)
size_(
x,
in_unit = "b",
out_unit = c("b", "Kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb")[3]
)
x |
|
in_unit |
|
out_unit |
|
standard |
|
(numeric)
value in out_unit
s
size_
Other rounding:
magnitude_order()
,
magnitude_triplet()
,
num2str()
,
num2str_vec()
,
num_chr_suffi
,
round_to()
,
unit_find()
,
unit_modify()
,
unit_modify_vec()
,
unit_string()
size(50, "Mb")
size(50, "Gb")
size(50, "Gb", "Mb")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.