View source: R/reporting-metadata.R
knit_print.clinDataReviewMetadata | R Documentation |
This function receives the metadata information from getMetadata
and
prints them in a format for an Rmd report.
In general, any list could be called as long as it is composed by two elements:
summaryInfo
: an R object.
datasetInfo
: a data.frame or a matrix.
The first (summaryInfo
) is printed as kable
object
and the second (datasetInfo
) is printed as hide/show html button with
the function collapseHtmlContent
.
## S3 method for class 'clinDataReviewMetadata'
knit_print(x, options = list(), ...)
x |
List of two elements named |
options |
List of extra options to be passed as chunk options.
The option |
... |
Extra arguments to be passed. |
Nothing. The tables are ready to be printed in Rmd.
html code to include metadata in a report
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.