alluvial: Alluvial Diagrams

Description Usage Arguments Value

View source: R/alluvial.h.R

Description

Alluvial Diagrams

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
alluvial(
  data,
  vars,
  condensationvar,
  excl = TRUE,
  marg = FALSE,
  verb = FALSE,
  fill = "first_variable",
  bin = "default",
  flip = FALSE,
  usetitle = FALSE,
  mytitle = "Alluvial Plot"
)

Arguments

data

The data as a data frame.

vars

a string naming the variables from data that contains the values used for the Alluvial Diagram.

condensationvar

The primary variable to be used for condensation.

excl

.

marg

.

verb

.

fill

A list for the argument fill for selecting the variable to be represented by color. Default is 'first_variable'.

bin

labels for the bins from low to high

flip

.

usetitle

.

mytitle

.

Value

A results object containing:

results$todo a html
results$plot an image
results$plot2 an image

sbalci/ClinicoPath documentation built on Jan. 8, 2021, 7:41 a.m.