search a data frame in R

Hi,

I have created a data frame in R using the attached example. I stripped down some data so that I can attach the file. How can I search a Data frame in R by specifying values for columns TICKER and DCLRDT. Once the search is complete for that particular row I want to return the difference between columns RET and vwretd.

Thanks

camper12Asked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
I would go with RSQLite and make database from CSV, then use common SQL to retrieve parts of data you need.
0
 
giltjrCommented:
I can't help you, but just wanted to point out that it looks like you forgot to attach anything.
0
 
camper12Author Commented:
0
 
gheistCommented:
zoo can help too, though no huge advantage over sql...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.