1

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.

Alberto
  • 15,626
  • 9
  • 43
  • 56
  • 2
    Maybe `data.table` or `merge` would help? – Neal Fultz Dec 06 '13 at 08:05
  • 2
    There are other `R` methods equivalent to Excel's VLOOKUP, see here: [How to do vlookup and fill down (like in excel) in R?](http://stackoverflow.com/q/15303283/1036500) – Ben Dec 06 '13 at 08:07
  • 1
    Try checking here http://stackoverflow.com/questions/15303283/how-to-do-vlookup-and-fill-down-like-in-excel-in-r – Keniajin Dec 06 '13 at 08:10
  • 2
    You've installed the package, but did you load it (using `library(qdap)`)? – Roland Dec 06 '13 at 08:44
  • I think you need the development version: see the directions [HERE](https://github.com/trinker/qdap) to download the dev version. – Tyler Rinker Jan 09 '14 at 15:24
  • Many here closed this question because it was about `lookup` hash tables. That is not what this is about. It's about a specific problem in a specific package and should not have been closed though the title does not match the content of the question. – Tyler Rinker Jan 09 '14 at 15:26

0 Answers0