Learn R Programming

epos (version 1.1)

createDashVectorForATC: 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)

Value

list with crosses if the drug in druglist matches at the position of the ATC class in slatc

Arguments

druglist

list of drug names

atchashda

hash retrieved from readAtcMapIntoHashMapDrugNamesAtcCodes

atchashsec

hash retrieved from readSecondLevelATC

slatc

list of ATC classes

Examples

Run this code
if (FALSE) {
createDashVectorForATC(druglist, atchashda, atchashsec, slatc)
}

Run the code above in your browser using DataLab