Description Usage Arguments Examples
Removes dpkg
and units
attributes from an object.
1 |
x |
Object. |
recursive |
(logical) Whether to process object elements. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | x = set_field(Sys.Date(), name = "test")
str(unset(x))
y = set_field(Sys.time(), name = "test")
str(unset(y))
z = set_field(TRUE, name = "test")
str(unset(z))
df <- set_resource(data.frame(x, y, z), name = "test")
str(unset(df))
l <- list(x, list(y, z))
str(unset(l))
## Not run:
x = set_field(units2::as_units(1, "m"), name = "test")
str(unset(x))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.