R/toPDF.R

Defines functions toPDF

#' @export
toPDF = function(file = "plot.pdf",
                 openPDF = FALSE){
  dev.copy2pdf(file = file,
               out.type = "pdf")
  if(openPDF) browseURL(file)
}
PhilippVWC/myBayes documentation built on Oct. 2, 2020, 8:25 a.m.