estimate_concordance {cforward} | R Documentation |
Estimate Out-of-Sample Concordance
Description
Estimate Out-of-Sample Concordance
Usage
estimate_concordance(
train,
test = train,
event_time = "event_time_years",
event_status = "mortstat",
weight_column = "WTMEC4YR_norm",
all_variables = NULL,
cfit_args = list(),
...
)
Arguments
train |
A data set to perform model training. |
test |
A data set to estimate concordance, from fit model with |
event_time |
Character vector of length 1 with event times, passed to
|
event_status |
Character vector of length 1 with event status, passed to
|
weight_column |
Character vector of length 1 with weights for
model. If no weights are available, set to |
all_variables |
Character vector of variables to put in the
model. All must be in |
cfit_args |
Arguments passed to |
... |
Additional arguments to pass to |
Value
A list of concordance and the model fit with the training data
[Package cforward version 0.1.0 Index]