Is there a lookup function in R like vlookup in excel?

271 views Asked by At

i want to know if there is a lookup() function in R package 'qdap'. I installed it and tried to use it, but throws up an error "could not find function "lookup".

for(k in 1:nrow(mtmModFrame)){
          mtmModFrame$mtm[k]<- lookup(uiqFrame$DATE[k], mtmFrame$DATE, mtmFrame$stcockMtm) }    
    print(mtmModFrame) 

thanks in advance. amit.

0

There are 0 answers