Re: [R] compare one field of dataframe with excel sheet using R

2012-06-26 Thread Jean V Adams
It would help if you provided an example for your data frame, and example for your spreadsheet, and more information on how to judge if the ppm values "are similar". Maybe this code will help you get started ... # Here's an example data frame mydf <- data.frame( compound=letters[1:10],

[R] compare one field of dataframe with excel sheet using R

2012-06-26 Thread sathya7priya
I have a data frame consisting of three columns(name of compund,ppm and frequency).Name contains string values .ppm and frequency contains numeric values with decimal points upto four digits. I have an excel sheet which is like a library.The first column contains the name of compounds and remaining