ABSTRACT

You can dynamically create a report or a series of reports from an R Markdown document using parameters. The parameters can be provided in the "params" field in the YAML metadata, the graphical user interface, or the "params" argument of the function rmarkdown::render(). In the R code chunks, you can use the object "params" to control the output, e.g., draw a map of a geographical region specified in "params".