powered by
Drop elements and sets without any relation.
# S3 method for TidySet droplevels(x, elements = TRUE, sets = TRUE, relations = TRUE, ...)
A TidySet object.
Logical value: Should elements be dropped?
Logical value: Should sets be dropped?
Other arguments, currently ignored.
rel <- list(A = letters[1:3], B = character()) TS <- tidySet(rel) TS sets(TS) TS2 <- droplevels(TS) TS2 sets(TS2)
Run the code above in your browser using DataLab