View source: R/SummaryReports.R
| generateSummaryPredictionReport | R Documentation |
Generates a summary report for a given targets and outcomes
generateSummaryPredictionReport(
connectionHandler,
schema,
targetIds = NULL,
outcomeIds = NULL,
plpTablePrefix = "plp_",
databaseTablePrefix = "",
cgTablePrefix = "cg_",
outputFolder,
outputFileName = "plp-summary.html",
intermediatesDir = file.path(tempdir(), "plp-prot"),
overwrite = FALSE
)
connectionHandler |
The connection handler to the results database |
schema |
The result database schema |
targetIds |
The target cohort IDs of interest |
outcomeIds |
The outcome cohort IDs of interest |
plpTablePrefix |
The prediction table prefix |
databaseTablePrefix |
The database table name e.g., database_meta_data |
cgTablePrefix |
The cohort generator table prefix |
outputFolder |
The folder name where file will be save to |
outputFileName |
The file name of the saved report |
intermediatesDir |
The work directory for rmarkdown |
overwrite |
whether to overwrite any existing file at the outputFolder/outputFileName |
Specify the connection handler to the result database, the schema name and the cohortId of interest to generate a html report summarizing the performance of prediction models in the database.
A html file is created with the summary report
Other Reporting:
createPredictionReport(),
generateFullReport()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.