-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return original subjects IDs in the imputed datasets #382
Comments
It was essential to change the patient IDs to ensure they were unique when you specify the unstructured covariance matrix as otherwise you would be grouping observations across multiple patients who were sampled from the same original patient. If memory serves me right there is an argument to |
Indeed, setting the argument Easy way to join the original IDs in an imputed dataset:
Thanks a lot. |
@nociale , Have re-opened the issue as I think it might be worth us adding something more explicit about this in one of the vignettes. |
Alternatively, maybe its worth updating the function to add on the "original_id" column instead of just returning the attribute ? |
Yes, good idea! We could either (1) set by default |
Would be better if the
subjid
variable had the same subjects IDs as in the input dataOriginal IDs:
New IDs:
This would be useful if then one wants to do other analyses and needs the original IDs (e.g. to join two datasets based on the IDs)..
Was it necessary to change the IDs?
The text was updated successfully, but these errors were encountered: