.impute_outcome_type {familiar} | R Documentation |
Internal imputation function for the outcome type.
Description
This function allows for imputation of the most plausible outcome type.
This imputation is only done for trivial cases, where there is little doubt.
As a consequence count
and continuous
outcome types are never imputed.
Usage
.impute_outcome_type(
data,
outcome_column,
class_levels,
censoring_indicator,
event_indicator,
competing_risk_indicator
)
Arguments
data |
Data set as loaded using the |
outcome_column |
Name of the outcome column in the data set. |
class_levels |
User-provided class levels for the outcome. |
censoring_indicator |
Name of censoring indicator. |
event_indicator |
Name of event indicator. |
competing_risk_indicator |
Name of competing risk indicator. |
Value
The imputed outcome type.
Note
It is highly recommended that the user provides the outcome type.
[Package familiar version 1.5.0 Index]