## global options knitr::opts_chunk$set(echo=FALSE, warning=FALSE, error=FALSE, message=FALSE, fig.width=10)
Decimal separator:
Quick guide
r paste0("file:./", basename(rprt_fns$yaml_file))
tor paste0("file:./", basename(rprt_fns$filename_sorting))
to customizer paste0("file:./", basename(html_template))
tohm[["plot"]]
if(!is.null(pl_nameMapping) && (!any(is.na(pl_nameMapping)))) { cat(pl_nameMapping$htmlTable) }
#for (qcm in lst_qcMetrics[1:3]) for (qcm in lst_qcMetrics) { if (length(qcm$plots) == 0) next; # skip empty metrics #debug: #cat(c("processing ", qcm$qcName)) v_titles = qcm$getTitles(subtitle_sep = "\n<b>") plots = qcm$getPlots(withTitle = FALSE) if (length(v_titles) != length(plots)) { ## this is weird... stop("Number of titles is unequal to number of plots ...") } last_title = "" for (i in 1:length(v_titles)) { if (last_title != v_titles[i]) { ## print only new titles cat(paste0("\n\n### ", gsub("\n", "\n<br>", v_titles[i]), "</b>\n\n")) } if (i == 1) { ## print helpText only once cat(paste0('\n <div> <div class="helpSymbol">↓ Show Help</div> <div class="helpText">', qcm$helpText, "</div> </div>")) } if (!is.na(qcm$htmlTable)) { ## if there is an HTML table, prefer it over the plots cat(qcm$htmlTable) break; } print(plots[[i]]) cat("\n<br>\n") last_title = v_titles[i] } cat('\n<p style="text-align: right">[back to top](#Overview)</p>\n\n') }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.