data type icons in summary - more tests

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-04-15 16:14:03 +02:00
commit 50d35c0c85
No known key found for this signature in database
15 changed files with 406 additions and 2493 deletions

View file

@ -4,7 +4,14 @@
\alias{plot_sankey_single}
\title{Beautiful sankey plot}
\usage{
plot_sankey_single(data, x, y, color.group = c("x", "y"), colors = NULL, ...)
plot_sankey_single(
data,
pri,
sec,
color.group = c("pri", "sec"),
colors = NULL,
...
)
}
\arguments{
\item{color.group}{set group to colour by. "x" or "y".}
@ -29,5 +36,5 @@ data.frame(
first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)),
last = sample(c(TRUE, FALSE, FALSE), 100, TRUE)
) |>
plot_sankey_single("first", "last", color.group = "x")
plot_sankey_single("first", "last", color.group = "pri")
}