comorbidity score

Has anyone used comorbidity package in R? I need to use it on large dataset containing diagnostic codes but needs help with using it as there are multiple column with diagnostic codes in that dataset.

Thanks

Zafar

Have you worked through the vignette ? I assume multiple columns with diagnostic codes are the norm rather than the exception, but its not something I have prior experience with.

https://cran.r-project.org/web/packages/comorbidity/vignettes/A-introduction.html

Thank you for the response.

I am getting a little confused how to fill in the code. I don't have Id number in the dataset and not sure what to put in code=.
My dataset has a column that has diagnostic codes in column I10_DX1 to I10-DX40 for each individual.

Thank you

Zafar

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.