computeLinks: computeLinks

Description Usage Arguments

View source: R/sankeydiagram.R

Description

Computes the links between the nodes, so that can be expressed as a network.

Usage

1
computeLinks(data, weights, show.percentages = FALSE)

Arguments

data

A data.frame or list of variables.

weights

A numeric vector with length equal to the number of rows in data. This is used to adjust the width of the links.

show.percentages

Whether to show percentages or counts


Displayr/flipPlots documentation built on April 13, 2021, 3:50 p.m.