Re: [R] question on simple graph

2012-01-31 Thread Jim Lemon
On 02/01/2012 08:13 AM, Rebecca Lisi wrote: I am having trouble generating a graph. I want to know the % of respondents who answered that they "strongly agree" or "agree" the "America owes R's ethnic group a better chance" (BTTRCHNC) and I want to organize it by racial group (RACESHRT). "BTTRCH

Re: [R] question on simple graph

2012-01-31 Thread Christopher W. Ryan
Without knowing more about what you are trying to accomplish, and what you have tried so far (code) it's difficult to say. But I'll venture this: are you sure you need a graph? Seems like a table might suffice. BT <- sample(1:5, 50, replace=TRUE) RA <- sample(1:5, 50, replace=TRUE) table(BT) ta

[R] question on simple graph

2012-01-31 Thread Rebecca Lisi
I am having trouble generating a graph. I want to know the % of respondents who answered that they "strongly agree" or "agree" the "America owes R's ethnic group a better chance" (BTTRCHNC) and I want to organize it by racial group (RACESHRT). "BTTRCHNC" is organized ordinally from 1 through 5 wi