Solved

search a data frame in R

Posted on 2015-01-16
4
203 Views
Last Modified: 2015-01-28
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

0
Comment
Question by:camper12
  • 2
4 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 40555162
I can't help you, but just wanted to point out that it looks like you forgot to attach anything.
0
 

Author Comment

by:camper12
ID: 40555235
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40568051
I would go with RSQLite and make database from CSV, then use common SQL to retrieve parts of data you need.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40576853
zoo can help too, though no huge advantage over sql...
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift (https://www.theguardian.com/commentisfree/2015/jul/26/will-we-get-by-gig-economy) or an overstated trend (http://www.wsj.com/articles/proof-of-a-g…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Articles on a wide range of technology and professional topics are available on Experts Exchange. These resources are written by members, for members, and can be written about any topic you feel passionate about. Learn how to best write an article t…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question