-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
library(interlacer)
library(forcats)
foo <- interlaced(c("a", "a", "b", "b", "c", "OMITTED"), na = "OMITTED") |>
map_value_channel(as.factor)
fct_lump_n(foo, 2, other_level = "OTHER")
#> [1] a a b b OTHER <NA>
#> attr(,"na_channel_values")
#> [1] <NA> <NA> <NA> <NA> <NA> OMITTED
#> Levels: OMITTED
#> Levels: a b OTHERCreated on 2024-08-08 with reprex v2.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels