dx_report: Render diagnostic report

Description Usage Arguments Examples

View source: R/dx_report.R

Description

Render diagnostic report

Usage

1
2
3
4
5
6
7
dx_report(
  dx_obj,
  roc_options = list(),
  forest_options = list(),
  output_dir = getwd(),
  output_file = "test.html"
)

Arguments

dx_obj

An object of class dx

roc_options

Arguments to be passed to dx_rox

forest_options

Arguments to be passed to dx_forest

output_dir

Directory to output report into

output_file

Filename of generated report

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
dx_obj <- dx(
  data = dx_heart_failure,
  study_name = "Heart Attack Prediction",
  data_description = "Validation Data",
  true_varname = "truth",
  pred_varname = "predicted",
  outcome_label = "Heart Attack",
  threshold_range = c(.1, .2, .3),
  setthreshold = .3,
  grouping_variables = c("AgeGroup", "Sex", "AgeSex")
)
dx_report(dx_obj, roc_options = list(curve_color = "blue"))

## End(Not run)

overdodactyl/diagnosticSummary documentation built on Jan. 13, 2020, 11:54 a.m.