ellessenne / comorbidity

An R package for computing comorbidity scores.
https://ellessenne.github.io/comorbidity/
GNU General Public License v3.0
80 stars 21 forks source link

Add test for expected number of rows #21

Closed ellessenne closed 5 years ago

ellessenne commented 5 years ago

Loop over B times, simulate a dataset with a given number of rows (at random b), and check that comorbidity returns a dataset with the expected number of rows.