build_report | R Documentation |
Build an HTML report with all the results from the chosen clinical endpoint
build_report(
endpoint = c("VO2max", "Flow-mediated Dilation", "BMI", "Body Mass", "Body Fat",
"Systolic Blood Pressure", "Diastolic Blood Pressure", "HDL", "LDL", "Triglycerides",
"Total Cholesterol", "C-reactive Protein", "Fasting Insulin", "Fasting Glucose",
"HbA1c", "HOMA-IR"),
path,
format = ".html"
)
endpoint |
The clinical endpoint to build the HTML report. |
path |
Path to write to. It has to be a character string indicating the path and file name (without the extension). For example, |
format |
The file extension that you want to build the report with. Only |
an HTML file.
if(interactive()) {
# Build an HTML report on VO2max
build_report(endpoint = "VO2max", path = tempfile())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.