downloadPlot: Code to generate a downloadable file containing plot...

Description Usage Arguments

View source: R/PlotSymptomsGenerateGraph.R

Description

Code to generate a downloadable file containing plot (downloaHandler) to download using a button.

Usage

1
2
downloadPlot(filename = "plot.eps", plotFunction, width, height,
  print = FALSE)

Arguments

filename

Suggested file name.

plotFunction

The function that plots the graph (can be reactive).

width

Width of the plot in pixels.

height

Height of plot in pixels.

print

Whether to use print() function or not. Needed with ggplot objects and not with base plots?


crtahlin/medplot documentation built on May 14, 2019, 12:05 p.m.