powered by
Creates a vector with an X at each position where a drug from the druglist matches the ATC class list slatc
createDashVectorForATC(druglist, atchashda, atchashsec, slatc)
list with crosses if the drug in druglist matches at the position of the ATC class in slatc
list of drug names
hash retrieved from readAtcMapIntoHashMapDrugNamesAtcCodes
hash retrieved from readSecondLevelATC
list of ATC classes
if (FALSE) { createDashVectorForATC(druglist, atchashda, atchashsec, slatc) }
Run the code above in your browser using DataLab