mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
feat: new cut option to simplify factors to only the top N levels
This commit is contained in:
parent
a06177481b
commit
0c2b061708
12 changed files with 337 additions and 236 deletions
|
|
@ -10,6 +10,7 @@ plot_sankey_single(
|
|||
sec,
|
||||
color.group = c("pri", "sec"),
|
||||
colors = NULL,
|
||||
missing.level = "Missing",
|
||||
...
|
||||
)
|
||||
}
|
||||
|
|
@ -40,4 +41,7 @@ data.frame(
|
|||
mtcars |>
|
||||
default_parsing() |>
|
||||
plot_sankey_single("cyl", "vs", color.group = "pri")
|
||||
stRoke::trial |>
|
||||
default_parsing() |>
|
||||
plot_sankey_single("diabetes", "hypertension")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue