extract_decision_curve_data | R Documentation |
Computes decision curve analysis data from a familiarEnsemble
object. Calibration tests are performed based on expected (predicted) and
observed outcomes. For all outcomes, calibration-at-the-large and
calibration slopes are determined. Furthermore, for all but survival
outcomes, a repeated, randomised grouping Hosmer-Lemeshow test is performed.
For survival outcomes, the Nam-D'Agostino and Greenwood-Nam-D'Agostino tests
are performed.
extract_decision_curve_data(
object,
data,
cl = NULL,
ensemble_method = waiver(),
evaluation_times = waiver(),
detail_level = waiver(),
estimation_type = waiver(),
aggregate_results = waiver(),
confidence_level = waiver(),
bootstrap_ci_method = waiver(),
is_pre_processed = FALSE,
message_indent = 0L,
verbose = FALSE,
...
)
object |
A |
data |
A |
cl |
Cluster created using the |
ensemble_method |
Method for ensembling predictions from models for the same sample. Available methods are:
|
evaluation_times |
One or more time points that are used for in analysis of
survival problems when data has to be assessed at a set time, e.g.
calibration. If not provided explicitly, this parameter is read from
settings used at creation of the underlying |
detail_level |
(optional) Sets the level at which results are computed and aggregated.
Note that each level of detail has a different interpretation for bootstrap
confidence intervals. For
A non-default |
estimation_type |
(optional) Sets the type of estimation that should be possible. This has the following options:
As with |
aggregate_results |
(optional) Flag that signifies whether results
should be aggregated during evaluation. If The default value is equal to As with |
confidence_level |
(optional) Numeric value for the level at which
confidence intervals are determined. In the case bootstraps are used to
determine the confidence intervals bootstrap estimation, The default value is |
bootstrap_ci_method |
(optional) Method used to determine bootstrap confidence intervals (Efron and Hastie, 2016). The following methods are implemented:
Note that the standard method is not implemented because this method is often not suitable due to non-normal distributions. The bias-corrected and accelerated (BCa) method is not implemented yet. |
is_pre_processed |
Flag that indicates whether the data was already
pre-processed externally, e.g. normalised and clustered. Only used if the
|
message_indent |
Number of indentation steps for messages shown during computation and extraction of various data elements. |
verbose |
Flag to indicate whether feedback should be provided on the computation and extraction of various data elements. |
... |
Unused arguments. |
A list with data.tables containing calibration test information for the ensemble model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.