mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
too much..
This commit is contained in:
parent
e5b702a183
commit
bc8aa7b583
28 changed files with 1064 additions and 95 deletions
22
man/plot_sankey_single.Rd
Normal file
22
man/plot_sankey_single.Rd
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/data_plots.R
|
||||
\name{plot_sankey_single}
|
||||
\alias{plot_sankey_single}
|
||||
\title{Beautiful sankey plot}
|
||||
\usage{
|
||||
plot_sankey_single(data, x, y, color.group = "x", colors = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{colors}{}
|
||||
}
|
||||
\value{
|
||||
ggplot2 object
|
||||
}
|
||||
\description{
|
||||
Beautiful sankey plot
|
||||
}
|
||||
\examples{
|
||||
ds <- data.frame(g = sample(LETTERS[1:2], 100, TRUE), first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)), last = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)))
|
||||
ds |> plot_sankey_single("first", "last")
|
||||
ds |> plot_sankey_single("first", "last", color.group = "y")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue