Hello all, 

I have been meaning to learn R for a while and have  just subscribed to this 
list. I am planning to give R a shot at one of  my live projects. I am looking 
to explore graphical features of R on my  data below. 


Sample Data:
Cat1 - Cat2 - Cat3 - Cat4 - NumPeople - Salary
H - L - H - L - 100 - 50000
L - L - L - L - 40 - 30000
 - H - H - - 100 - 45000

Cat1 through Cat4 are categorical variables containing High, Medium, Low or 
Blank values and the last two variables are continuous. 


1.  Is there a good way of graphically representing this data in R? I am  
looking for total population and average salary within each combination  of 
values. 

2. Cat1 and Cat2 are related while  Cat3, Cat4 are related. I have a grid in 
Excel that summarizes by  having (Cat1 + Cat2) on the left and (Cat3 + Cat4) on 
the top. Could we  draw this kind of matrix using R? I started looking up this 
morning and  see that this could be done using trellis objects. I will 
appreciate if  anyone has examples similar to this. 


Thanks,


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to