Skip to contents

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
)

Arguments

data

.

patientId

.

timeVar

.

outcomeVars

.

groupVar

.

dashboardType

.

timeWindow

.

showTrends

.

showAlerts

.

alertThresholds

.

showSummaryStats

.

showDistributions

.

realTimeUpdate

.

exportDashboard

.

Value

A results object containing:

results$instructionsa html
results$summaryMetricsa table
results$clinicalAlertsa table
results$outcomeStatsa table
results$trendPlotan image
results$distributionPlotan image
results$dashboardSummarya html

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$summaryMetrics$asDF

as.data.frame(results$summaryMetrics)