View source: R/plotting-utils.R
outputType | R Documentation |
function to validate the type of file format and open the corresponding file
outputType(
device,
dirSave = NULL,
fileName,
fileFmts,
combinePlts,
msg = "plot"
)
device |
string to select the output format: 'PDF'/'PNG'/'JPEG' or 'screen' |
dirSave |
specify a valid directory where to save the file |
fileName |
name of the file |
fileFmts |
list with the acceptable format types, eg. c("PDF","PNG","JPEG") |
combinePlts |
boolean flag indicating whether plots are combined or not |
msg |
optional string to customiza message to the user |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.