Re: [R] multi variate plot with string data

2009-11-26 Thread frenchcr
Thanks!! this works perfectly dat = data.frame(Aggressive = data_set$var1 , Behaviour=data_set$var2) plot(table(dat)) ...its better than a stacked boxplot as it gives also different width of columns on the diagram...an extra layer of information. frenchcr wrote: > > > Ive got

Re: [R] multi variate plot with string data

2009-11-26 Thread frenchcr
is there something wrong with the way i asked the question frenchcr wrote: > > > Ive got two columns in data_set that are strings > > the first column is called "character" and has levels: > good, bad, ugly > > the second column is called "abusive" and has levels: > aggressive, moderately ag

[R] multi variate plot with string data

2009-11-25 Thread frenchcr
Ive got two columns in data_set that are strings the first column is called "character" and has levels: good, bad, ugly the second column is called "abusive" and has levels: aggressive, moderately aggressive, mildly aggressive I want to do a stacked boxplot that has this sort of structure: