drop_quantities | R Documentation |
Drop Units and Errors
drop_quantities(x)
## S3 method for class 'quantities'
drop_units(x)
## S3 method for class 'quantities'
drop_errors(x)
## S3 method for class 'data.frame'
drop_quantities(x)
x |
a |
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)
.
the numeric without any units
or errors
attributes,
while preserving other attributes like dimensions or other classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.