powered by
Make a pdf file with a data.frame
data2pdf(data, preprocessing = "", path = NULL, filename = "report.pdf", rawDataName = NULL, rawDataFile = "rawData.RDS", kotex = FALSE, echo = TRUE, showself = FALSE)
A data.frame
A character string of R code
A name of destination file path
A path of destination file
The name of the rawData
The name of the rawData file which the data are to be read from.
Logical. Whether or not use kotex package of latex
Logical. Whether or not show R code of plot and table
Logical. Whether or not show R code for the paragraph
# NOT RUN { library(moonBook) library(ztable) library(ggplot2) # } # NOT RUN { data2pdf(sampleData2,path="tmp") # }
Run the code above in your browser using DataLab