mkflowchart {cohorttools}R Documentation

Function makes flowchart in graphviz

Description

Function makes flowchart in graphviz

Usage

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

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)

Value

Character string, graphviz language

Author(s)

Jari Haukka jari.haukka@helsinki.fi

Examples

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))

[Package cohorttools version 0.1.4 Index]