prisma_pdf: Make PDF of the plot

Description Usage Arguments Functions Examples

Description

This makes a PDF file which can be included by knitr Sweave.

Usage

1
2
3
4
prisma_pdf(x, filename = "prisma.pdf")

prisma_export(x, filename = "prisma.png", rsvg_fun = rsvg::rsvg_png,
  ...)

Arguments

x

output of call to prisma

filename

path of output file

rsvg_fun

Function from 'rsvg' default being 'rsvg::rsvg_png'

...

Passed to 'rsvg_fun'

Functions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
g <- prisma(9, 8, 7, 6, 5, 4, 3, 2, 1)
prisma_pdf(g, "test.pdf")
knitr::include_graphics("test.pdf")

## End(Not run)
## Not run: 
g_dot <- prisma_graph(9, 8, 7, 6, 1, 5, 1, 4, 1)
prisma_export(g_dot, "test.png", rsvg_fun = rsvg::rsvg_png)

## End(Not run)

PRISMAstatement documentation built on May 9, 2019, 1:03 a.m.