droplevels.TidySet | R Documentation |
Drop elements and sets without any relation.
## S3 method for class 'TidySet'
droplevels(x, elements = TRUE, sets = TRUE, relations = TRUE, ...)
x |
A TidySet object. |
elements |
Logical value: Should elements be dropped? |
sets |
Logical value: Should sets be dropped? |
relations |
Logical value: Should sets be dropped? |
... |
Other arguments, currently ignored. |
A TidySet object.
rel <- list(A = letters[1:3], B = character())
TS <- tidySet(rel)
TS
sets(TS)
TS2 <- droplevels(TS)
TS2
sets(TS2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.