Last chance! 50% off unlimited learning
Sale ends in
Compares two comorbidity:icd9 code mappings. The results are returned invisibly as a list. Only those comorbidities with (case sensitive) overlapping names are compared.
icd9DiffComorbid(x, y, names = NULL, x.names = NULL, y.names = NULL,
show = TRUE, explain = TRUE)
list of character vectors
list of character vectors
character vector of the comorbidity names
character vector of the comorbidity names from x
to
compare
character vector of the comorbidity names from y
to
compare
single logical value. The default is TRUE
which causes a
report to be printed.
single logical value. The default is TRUE
which means
the differing codes are attempted to be reduced to their parent codes, in
order to give a more succinct summary.
A list, each item of which is another list containing the intersections and both asymmetric differences.
# NOT RUN {
icd9DiffComorbid(elixComorbid, ahrqComorbid, "CHF")
# }
# NOT RUN {
# give full report on all comorbidities for these mappings
icd9DiffComorbid(elixComorbid, ahrqComorbid)
# }
Run the code above in your browser using DataLab