createDashVectorForATC {epos} | R Documentation |
Creates a vector with an X at each position where a drug from the druglist matches the ATC class list slatc
Description
Creates a vector with an X at each position where a drug from the druglist matches the ATC class list slatc
Usage
createDashVectorForATC(druglist, atchashda, atchashsec, slatc)
Arguments
druglist |
list of drug names |
atchashda |
hash retrieved from readAtcMapIntoHashMapDrugNamesAtcCodes |
atchashsec |
hash retrieved from readSecondLevelATC |
slatc |
list of ATC classes |
Value
list with crosses if the drug in druglist matches at the position of the ATC class in slatc
Examples
## Not run:
createDashVectorForATC(druglist, atchashda, atchashsec, slatc)
## End(Not run)
[Package epos version 1.1 Index]