Description Usage Arguments Value Author(s) See Also Examples
This function adds one or two rows to a flowchart dataframe. Used to describe a dataframe after manipulation.
1 2 |
dataframe |
The dataframe to be described. It should at least contain a unique patient identifier called |
flowchart |
A flowchart dataframe |
label |
character, with the node label, used to refer to this node in the |
title |
character; extended node title, used for display |
id |
character, name of the patient id. Defaults to lpnr |
from |
character, refers to the |
display.r |
logical; when set to |
display.n |
logical; when set to |
The flowchart dataframe with one or more rows added.
Peter Konings
create.diagram
to create a valid diagram statement from this type of dataframe. create.flowchart
creates an empty flowchart dataframe for use by this function.
1 2 3 4 5 | testchart <- create.flowchart()
testdf <- data.frame(lpnr = c(1,1,1,1:10), blah = rep('blah', 13))
testchart <- add.node(testdf, testchart, 'start', 'original dataset')
testchart
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.