[.unit_string | R Documentation |
Subsets unit_string, retaining class.
## S3 method for class 'unit_string'
x[...]
x |
unit_string |
... |
passed to next method |
unit_string
Other unit_string:
[[.unit_string()
,
as_unit_string.character()
,
as_unit_string.factor()
,
as_unit_string.symbolic_units()
,
as_unit_string.units()
,
as_unit_string()
x <- c(
'm',
's',
'ng/mL'
)
x <- as_unit_string(x)
class(x)
class(x[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.