View source: R/filter_branch.R
add_filter_branch | R Documentation |
mverse
object.This method adds one or more filter branches to
an existing mverse
object. Filter branches
are used to define options for conditions
for selecting subsets of data rows.
add_filter_branch(.mverse, ...)
.mverse |
a |
... |
|
The resulting mverse
object.
Other filter branch functions:
filter_branch
# Define a filter branch.
hurricane_outliers <- filter_branch(
!Name %in% c("Katrina", "Audrey", "Andrew"),
!Name %in% c("Katrina"),
!Name %in% c("Katrina"),
TRUE # include all
)
# Create a mverse and add the branch.
mv <- create_multiverse(hurricane) %>%
add_filter_branch(hurricane_outliers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.