computeLinks: computeLinks

View source: R/sankeydiagram.R

computeLinksR Documentation

computeLinks

Description

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

Usage

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


NumbersInternational/flipPlots documentation built on Feb. 26, 2024, 5:39 a.m.