.impute_outcome_type | R Documentation |
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.
.impute_outcome_type(
data,
outcome_column,
class_levels,
censoring_indicator,
event_indicator,
competing_risk_indicator
)
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. |
The imputed outcome type.
It is highly recommended that the user provides the outcome type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.