parameterization

Using rmarkdown parameters to set title, author, and date

Another quick tip today. I’m taking a look at a bunch of my Rmarkdown documents for places I can employ parameters. For reports and other templates, you might want to parameterize the YAML header that defines the title, author, date, etc. Turns out this is more straightforward than I guessed. You just need to define the parameters near the top of the YAML, then assign them to the appropriate elements later on.