Description Usage Arguments Value
Generate report(s) with modeling stats and survival estimates using pandoc.
1 2 3 4 5 6 7 | make_report_rmd(OData, MSM, NPMSM, TMLE, GCOMP, WTtables, FUPtables,
MSM.RDtables, TMLE.RDtables, plotKM = FALSE, printEstimateTables = FALSE,
format = c("html", "pdf", "word"), skip.modelfits = FALSE,
file.name = getOption("stremr.file.name"),
file.path = getOption("stremr.file.path"), openFile = TRUE,
serve_html_rmote = FALSE, keep_md = FALSE, keep_tex = FALSE,
save_report_data = FALSE, ...)
|
OData |
Input data object returned by the function |
MSM |
The MSM object fits returned by the function |
NPMSM |
Optional list of a resulting calls to |
TMLE |
Optional list of a resulting calls to |
GCOMP |
Optional list of a resulting calls to |
WTtables |
Table(s) with distribution(s) of the IPTW weights, a result of calling the function |
FUPtables |
Logical, set to |
MSM.RDtables |
List of tables with risk differences returned by the function |
TMLE.RDtables |
List of tables with risk differences returned by the function |
plotKM |
Logical, set to |
printEstimateTables |
... |
format |
Choose the Pandoc output format for the report file (html, pdf or word). Note that the html report file is always produced in addition to any other selected format. |
skip.modelfits |
Do not report any of the modeling stats. |
file.name |
File name for the report file without extension. Default file name is assigned based on the current date. |
file.path |
Directory path where the report file(s) should be written. Default is to use the system temporary directory. |
openFile |
Open the report file with OS default viewer? |
serve_html_rmote |
Serve the html report as a webpage via R package "rmote". |
keep_md |
Keep the source .md files? |
keep_tex |
Keep the source .tex files for pdf output? |
save_report_data |
Save the data needed for generating this report as a list in a separate 'report_name.Rd' file. |
... |
Additional arguments may specify the report title ( |
String specifying the path to the main report file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.