View source: R/PredictionReport.R
| createPredictionReport | R Documentation |
Generates a report for a given prediction model design
createPredictionReport(
connectionHandler,
schema,
plpTablePrefix,
databaseTablePrefix = plpTablePrefix,
cgTablePrefix = plpTablePrefix,
modelDesignId,
output,
intermediatesDir = file.path(tempdir(), "plp-prot"),
outputFormat = "html_document"
)
connectionHandler |
The connection handler to the results database |
schema |
The result database schema |
plpTablePrefix |
The prediction table prefix |
databaseTablePrefix |
The database table name e.g., database_meta_data |
cgTablePrefix |
The cohort generator table prefix |
modelDesignId |
The model design ID of interest |
output |
The folder name where main.html will be save to |
intermediatesDir |
The work directory for rmarkdown |
outputFormat |
the type of outcome html_document or html_fragment |
Specify the connection handler to the result database, the schema name and the modelDesignId of interest to generate a html report summarizing the performance of models developed across databases.
An named R list with the elements 'standard' and 'source'
Other Reporting:
generateFullReport(),
generateSummaryPredictionReport()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.