Re: [R] barplot with specific order of x axis labels

2009-03-03 Thread Paul Hiemstra
sort.df() in the reshape packge. cheers, Paul R User R User wrote: Hi all, I'd appreciate your help with this problem. I need to plot a barplot with the categories in a specific order. My data might be: hours Freq AN 10 MO 14 LU 30 I need the categories to be in the order: MO

[R] barplot with specific order of x axis labels

2009-03-02 Thread R User R User
Hi all, I'd appreciate your help with this problem. I need to plot a barplot with the categories in a specific order. My data might be: hours Freq AN 10 MO 14 LU 30 I need the categories to be in the order: MO LU AN Is there some way to pass sort the dataset into this order so