Depending on what options of hlookup you want, 'match' will do exact matching and 'findInterval' will determine range/interval matching. What you need to do is follow the posting guide and provide an example of exactly what you data looks like and what you expect the result to be.
On Fri, Jul 13, 2012 at 3:25 PM, Silje Nord <[email protected]> wrote: > Hi, > > Is there a function similar to excel's hlookup in R ? > > Thanks, > Silje > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

