createDashVectorForATC: Creates a vector with an X at each position where a drug from...

Description Usage Arguments Value Examples

Description

Creates a vector with an X at each position where a drug from the druglist matches the ATC class list slatc

Usage

1
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

1
2
3
4
## Not run: 
createDashVectorForATC(druglist, atchashda, atchashsec, slatc)

## End(Not run)

epos documentation built on Feb. 20, 2021, 9:09 a.m.