ropensci / coder

Classification of Cases into Deterministic Categories
https://docs.ropensci.org/coder/
22 stars 4 forks source link

Risk Rx V example #98

Closed eribul closed 4 years ago

eribul commented 4 years ago

In the Risk Rx V example you mention creating dataframe ex_atc in which patients could have zero, one, or several codes prescribed. However, the way you create the data each patient in fact has at least one code. Either alter the example to match (preferable to demonstrate how patients without codes are handled) or alter the text.

eribul commented 4 years ago

Review: Good point! I have updated the code to only include 90 out of the 100 patients to reciewe any ATC codes.