GitLab at IIASA

plot_sankey.Rd 930 B
Newer Older
Xinxin Yang's avatar
Xinxin Yang committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/capri_sankey.R
\name{plot_sankey}
\alias{plot_sankey}
\title{function draws sankey diagram and saves html pages for sankey}
\usage{
plot_sankey(links, nodes, p_baseline, Png)
}
\arguments{
\item{links}{a data frame object with the links between the nodes. It should have include the Source and Target for each link. An optional Value variable can be included to specify how close the nodes are to one another.}

\item{nodes}{a data frame containing the node id and properties of the nodes. If no ID is specified then the nodes must be in the same order as the Source variable column in the Links data frame. Currently only grouping variable is allowed.}

\item{p_baseline}{boolean.}

\item{png}{boolean. if TRUE, the sankey chart will be saved.}
}
\value{
sankey diagram.
}
\description{
function draws sankey diagram and saves html pages for sankey
}