Add the optional DataCite Size property as an attribute to an R object.
Usage
size(x)
Value
The estimated object size in memory is added as an attribute to x in SI
kB and IEC KiB (legacy Kb) units,
rounded to two decimals. Returns the x object.
Arguments
x
An R object, such as a data.frame, a tibble, or a character vector.
Details
Size is an optional property in
DataCite 4.3.
The object size is estimated with [utils]{object.size}.