powered by
Creates an Rmd file that can be used to generate a report.
ypr_report( population, title = "Population Report", description = "", date = Sys.Date(), file = "report", view = FALSE, ask = TRUE )
An object of class ypr_population().
ypr_population()
A string of the report title.
A string describing the population.
A date of the report date.
A string of the path to the file (without the extension).
A flag specifying whether to view the report (after rendering it to html).
A flag specifying whether to ask before overwriting or creating a file.
An invisible character vector of the contents of the file.
# NOT RUN { ypr_report(ypr_population(), file = tempfile(), ask = FALSE) # }
Run the code above in your browser using DataLab