This function takes an imputed dataset and a mapping variable to return a dataset with the original IDs mapped back and renamed appropriately.

get_imputed_data(impute_obj)

Arguments

impute_obj

The imputation object from which the imputed datasets are extracted.

Value

A data frame with the original subject IDs mapped and renamed.

Examples

# Example usage:
# result <- get_imputed_data(impute_obj)