mercredi 18 février 2015

How do I limit a data set in R to certain values?


Vote count:

-1




So I have a governers dataset where I have 2000 entries. Each entry is one of the 50 states during a given year from 1950-1998. So for example, the first entry would be arkansas in 1950. There are many different variables associated with this data such as income/capita for each entry. If I have the list of income per capita, it will give me this list of 2000 values. What would I have to do if I wanted to limit the list to just list of income per capita in a certain state from 1950-1989. For each data entry, I also have access to a variable which gives the name of the state and the state code. So can I use some sort of if statement to limit my list?



asked 1 min ago







How do I limit a data set in R to certain values?

Aucun commentaire:

Enregistrer un commentaire