ypr_report: Report

Description Usage Arguments Value Examples

View source: R/report.R

Description

Creates an Rmd file that can be used to generate a report.

Usage

1
2
ypr_report(population, title = "Population Report", date = Sys.Date(),
  file = "report.Rmd")

Arguments

population

An object of class ypr_population.

title

A string of the report title.

date

A date of the report date.

file

A string of the file name.

Value

An invisible character vector of the contents of the file.

Examples

1
2
3
4
## Not run: 
cat(ypr_report(ypr_population(), file = tempfile()), sep = "\n")

## End(Not run)

poissonconsulting/ypr documentation built on May 16, 2019, 11:12 p.m.