This method can be used to produce an R Markdown (or, more accurately, knitr) partial, that can then easily be included as a child 'document' in R Markdown reports.

partial(x, headingLevel = 3, quiet = TRUE, echoPartial = FALSE,
  partialFile = NULL, ...)

# S3 method for default
partial(x, headingLevel = 3, quiet = TRUE,
  echoPartial = FALSE, partialFile = NULL, ...)

Arguments

x

The object to show.

headingLevel

The level of the Markdown heading to provide; basically the number of hashes ('#') to prepend to the headings.

quiet

Passed on to knitr::knit() whether it should b chatty (FALSE) or quiet (TRUE).

echoPartial

Whether to show the executed code in the R Markdown partial (TRUE) or not (FALSE).

partialFile

This can be used to specify a custom partial file. The file will have object x available.

...

Passed to the specific method; for the default method, this is passed to the print method.