7 data points?  What's wrong with with doing it manually?

x<-c(173,193,194,167,119,80,96)
labs<-c("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday")
pie3D(x,labels=labs)

-tgs

On Mon, May 17, 2010 at 8:46 AM, someone <vonhof...@t-online.de> wrote:

>
> I'm an R noob and have a (maybe) stupid question...
> I have a table where I have the weekdays and a number for each weekday of
> entries:
> Thats what the table looks like...
> Now I want to have an pie3D plot of this, but obviously the order of the
> weekdays are not as one would expect...
>   Friday    Monday  Saturday    Sunday  Thursday   Tuesday Wednesday
>      119       173        80               96       167            193
> 194
>
> how can I rearrange the cols so that its the "usal" way: monday first, then
> tuesday and so on...
> Any help is highly appreciated!
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Change-order-of-columns-in-table-tp2219536p2219536.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

        [[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