comorbidity function

Convert base rates of two diagnoses and their comorbidity into phi, Yule, and tetrachorics