[R] R and Excel
Mark Wardle
mark at wardle.org
Mon Jul 23 11:34:56 CEST 2007
On 23/07/07, D ANIELLO CLAUDIA (MPS - 05966)
<claudia.d'aniello at banca.mps.it> wrote:
> Dear all,
> Someone knows what's the command in R corresponding to the "vlookup" in
> Excel?
> Thank you in advance.
> Claudia
>
Dear Claudia,
Depending on the dataset, it is possible to achieve the same results
by using merge(). It is a different way of thinking, but can
effectively "lookup" corresponding values in one data frame into
another.
If you give a sample of data then I could be a bit more specific!
Best wishes,
Mark
--
Dr. Mark Wardle
Clinical research fellow and specialist registrar, Neurology
Cardiff, UK
More information about the R-help
mailing list