View source: R/PRISMA_flowdiagram.R
PRISMA_save | R Documentation |
Save the output from PRISMA_flowdiagram()
to the
working directory.
PRISMA_save(
plotobj,
filename = "PRISMA2020_flowdiagram.html",
filetype = NA,
overwrite = FALSE,
width = NULL,
height = NULL,
css = NULL
)
plotobj |
A plot produced using |
filename |
The filename to save (including extension) |
filetype |
The filetype to save the plot in, supports: HTML, ZIP, PDF, PNG, SVG, PS and WEBP (if NA, the filetype will be calculated out based on the file extension) HTML files maintain hyperlinks and tooltips The ZIP option creates an archive containing the HTML file, alongside supporting javascript and css files in an adjacent folder, instead of embedded base64 within the HTML file |
overwrite |
if TRUE, will overwrite an existing file |
width |
passed as the width argument to
|
height |
passed as the height argument to
|
css |
passed as the css argument to
|
the absolute filename of the saved diagram plot.
csvFile <- system.file("extdata", "PRISMA.csv", package = "PRISMA2020")
data <- read.csv(csvFile);
data <- PRISMA_data(data);
plot <- PRISMA_flowdiagram(data,
fontsize = 12,
interactive = TRUE,
previous = FALSE,
other = TRUE);
PRISMA_save(plot, filename = tempfile(), filetype="html");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.