Create a new filter branch.
filter_branch(..., name = NULL)
branch definition expressions.
(optional) Name for the new filter.
a filter_branch object.
Other filter branch functions:
add_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)