This function creates automatically a PDF with the descriptive table as well as availability data and all plots. This file is structured and indexed in the way that the user can navigate through all tables and figures along the document.
report(x, file, fig.folder, compile = TRUE, openfile = FALSE, title = "Report",
author, date, perc=FALSE, ...)
an object of class 'createTable'.
character specifying the PDF file resulting after compiling the LaTeX code of report. LaTeX code is also stored in the same folder with the same name but .tex extension. When 'compile' argument is FALSE, only .tex file is saved.
character specifying the folder where the plots corresponding to all row-variables of the table are placed. If it is left missing, a folder with the name file_figures is created in the same folder of 'file'.
logical indicating whether tex file is compiled using texi2pdf
function. Default value is TRUE.
logical indicating whether to open the compiled pdf file or not. Currently deprectated. Deafult value is FALSE.
character specifying the title of the report on the cover page. Default value is 'Report'.
character specifying the author/s name/s of the report on the cover page. When missing, no authors appear.
character specifying the date of the report on the cover page. When missing, the present date appears.
logical. Plot relative frequencies (in percentatges) instead of absolute frequencies are displayed in barplots for categorical variable.
Arguments passed to export2latex
.
createTable
, export2latex
, export2csv
, export2html
, radiograph