Drop Units and Errors
drop_quantities(x)# S3 method for quantities
drop_units(x)
# S3 method for quantities
drop_errors(x)
# S3 method for data.frame
drop_quantities(x)
the numeric without any units
or errors
attributes,
while preserving other attributes like dimensions or other classes.
a quantities
object.
drop_quantities
is equivalent to quantities(x) <- NULL
or set_quantities(x, NULL, NULL)
. drop_units
is equivalent to
units(x) <- NULL
or set_units(x, NULL)
. drop_errors
is
equivalent to errors(x) <- NULL
or set_errors(x, NULL)
.