savePlots: Function that saves plots

View source: R/savePlots.R

savePlotsR Documentation

Function that saves plots

Description

Function that saves plots in multiple formats

Usage

savePlots(
  plotObject,
  plotTypeValue,
  fileFormat = c(".png", ".pdf"),
  widthValue,
  heightValue,
  measureUnitsValue = "cm",
  extraInfoValue
)

Arguments

plotObject

plot object generated by each draw plot function

plotTypeValue

name of type of plot used (name defined by default in each draw plot function)

fileFormat

format of the files to be generated (default .png and .pdf)

widthValue

width of the plot (defined by default in each draw plot function)

heightValue

height of the plot (defined by default in each draw plot function)

measureUnitsValue

measure units of the plot (default cm)

extraInfoValue

extra information to be appended to the file name


fpestana-git/visualisR documentation built on May 2, 2022, 11:58 a.m.