Re: [R] working with groups of labels?

2009-05-12 Thread Jim Lemon
Phillip Porter wrote: At 9:25 PM +1000 5/11/09, Jim Lemon wrote: Hi Phillip, I'm not exactly sure how you are positioning the labels. Is it possible to give us an example with some data that will produce a plot to show what you want? It shouldn't be too hard to do. Jim Data is something

[R] working with groups of labels?

2009-05-11 Thread Phillip Porter
Good Morning, I have a graph with groups of variables. I have include the group names as variables so that I can have them positioned correctly. Unfortunately this means that the group names have to follow all of the same rules as the variables within the groups. I would rather have those

Re: [R] working with groups of labels?

2009-05-11 Thread Richard . Cotton
I have a graph with groups of variables. I have include the group names as variables so that I can have them positioned correctly. Unfortunately this means that the group names have to follow all of the same rules as the variables within the groups. I would rather have those group names

Re: [R] working with groups of labels?

2009-05-11 Thread Jim Lemon
Phillip Porter wrote: Good Morning, I have a graph with groups of variables. I have include the group names as variables so that I can have them positioned correctly. Unfortunately this means that the group names have to follow all of the same rules as the variables within the groups. I

Re: [R] working with groups of labels?

2009-05-11 Thread Phillip Porter
At 9:25 PM +1000 5/11/09, Jim Lemon wrote: Hi Phillip, I'm not exactly sure how you are positioning the labels. Is it possible to give us an example with some data that will produce a plot to show what you want? It shouldn't be too hard to do. Jim Data is something along the lines of:

Re: [R] working with groups of labels?

2009-05-11 Thread Richard . Cotton
It seems that the structure of your data is that you have two groups (Real Bad Stuff and Other Crazy Things) which are then subdivided into further categories. I'd be tempted to set your data up like this: dfr - data.frame( score=c(23, 14, 17, 8, 43, 13), group=rep(c(Real Bad Stuff,