create.flowchart: Create an empty flowchart dataframe

Description Usage Details Value Author(s) See Also Examples

View source: R/create.flowchart.R

Description

This function creates an empty dataframe with appropriate fields for use as the basis of a flowchart plot. Every row describes one node of a directed graph.

Usage

1

Details

No arguments are allowed.

Value

An empty dataframe with the following variables:

label

character vector containing node labels, used to refer to a node in the from variable

title

character vector containing extended node titles, used for display

display.r

logical; when set to TRUE, the number of records is displayed in the node

display.n

logical; when set to TRUE, the number of patients is displayed in the node

r

integer: number of records in a node

n

integer: number of patients in a node

from

character vector, refers to the label of the parent node

Author(s)

Peter Konings

See Also

create.diagram to create a valid diagram statement from this type of dataframe. add.node adds one or two nodes as row(s) to this type of dataframe.

Examples

1
2
testchart <- create.flowchart()
testchart

lemna/ugir documentation built on May 21, 2019, 3:07 a.m.