Learn R Programming

cohorttools (version 0.1.6)

mkflowchart: Function makes flowchart in graphviz

Description

Function makes flowchart in graphviz

Usage

mkflowchart(N, text.M, text.P, type = 1)

Value

Character string, graphviz language

Arguments

N

Population sizes

text.M

Text for exclusions, length one less than N

text.P

Text for main boxes, must be same length with N

type

flowchart type (1 or 2)

Author

Jari Haukka jari.haukka@helsinki.fi

Examples

Run this code
DiagrammeR::grViz(mkflowchart(N=c(743,32,20),
text.M=c("Excluded","Excluded \n other with reasons"),
text.P=c("Studies","Relevant studies","Included in final review"),type=1))

Run the code above in your browser using DataLab