Interactive Clinical Dashboard
Usage
clinicaldashboard(
data,
patientId,
timeVar,
outcomeVars,
groupVar,
dashboardType = "population",
timeWindow = "last_90_days",
showTrends = TRUE,
showAlerts = TRUE,
alertThresholds = "",
showSummaryStats = TRUE,
showDistributions = TRUE,
realTimeUpdate = FALSE,
exportDashboard = FALSE
)Value
A results object containing:
results$instructions | a html | ||||
results$summaryMetrics | a table | ||||
results$clinicalAlerts | a table | ||||
results$outcomeStats | a table | ||||
results$trendPlot | an image | ||||
results$distributionPlot | an image | ||||
results$dashboardSummary | a html |
Tables can be converted to data frames with asDF or as.data.frame. For example:
results$summaryMetrics$asDF
as.data.frame(results$summaryMetrics)