prisma {PRISMAstatement} | R Documentation |
Generate a PRISMA statement flow chart
Description
Generate PRISMA statement flow chart for use in retrospective medical research. Almost all arguments are mandatory, as they are in the recommended PRISMA statement.
Usage
prisma(found, found_other, no_dupes, screened, screen_exclusions,
full_text, full_text_exclusions, qualitative, quantitative = NULL,
labels = NULL, extra_dupes_box = FALSE, ..., dpi = 72,
font_size = 10)
prisma_graph(found, found_other, no_dupes, screened, screen_exclusions,
full_text, full_text_exclusions, qualitative, quantitative = NULL,
labels = NULL, extra_dupes_box = FALSE, ..., dpi = 72,
font_size = 10)
Arguments
found |
Records found through database searching |
found_other |
Additional records identified through other sources |
no_dupes |
Records after duplicates removed |
screened |
Records screened |
screen_exclusions |
Records excluded |
full_text |
Full-text articles assessed for eligibility |
full_text_exclusions |
Full-text articles excluded with reasons |
qualitative |
Studies included in qualitative analysis |
quantitative |
Studies included in quantitative synthesis (meta-analysis) |
labels |
|
extra_dupes_box |
Single logical value, default is |
... |
Further arguments are passed to |
dpi |
Dots per inch, 72 is the default here, and in |
font_size |
integer font size in points, default is 10. |
Functions
-
prisma_graph
: Generate the 'dot' graph text
Source
http://prisma-statement.org/PRISMAStatement/FlowDiagram
Examples
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107)
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107,
labels = list(found = "FOUND"))
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107, dpi = 24)
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107, extra_dupes_box = TRUE)
# vary the font size
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107, font_size = 6)
prisma(1000, 20, 270, 270, 10, 260, 20, 240, 107, font_size = 60)
# giving impossible numbers should cause an error
## Not run:
prisma(1, 2, 3, 4, 5, 6, 7, 8, 9)
# giving unlikely numbers should cause a warning
prisma(1000, 20, 270, 270, 10, 260, 19, 240, 107)
prisma(1000, 20, 270, 270, 269, 260, 20, 240, 107)
## End(Not run)