Try ?match Adapt it to your need
On Saturday, July 14, 2012 12:55:33 AM UTC+5:30, Silje Nord wrote: > > Hi, > > Is there a function similar to excel's hlookup in R ? > > Thanks, > Silje > > ______________________________________________ > R-help@r-project.org 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. >
______________________________________________ R-help@r-project.org 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.