[R] graph displays

John Kane jrkrideau at inbox.com
Mon Jun 25 23:31:59 CEST 2012


xx  <- structure(list(X1000s = c(47L, 37L, 17L), X600s = c(63L, 64L, 
62L), X500s = c(75L, 45L, 25L), X250s = c(116L, 11L, 66L), X100s = c(125L, 
25L, 12L), X50s = c(129L, 19L, 29L), X10s = c(131L, 61L, 91L), 
    X5s = c(131L, 131L, 171L), X3s = c(131L, 186L, 186L), X1s = c(131L, 
    186L, 186L)), .Names = c("X1000s", "X600s", "X500s", "X250s", 
"X100s", "X50s", "X10s", "X5s", "X3s", "X1s"), class = "data.frame", row.names = c("A", 
"B", "C"))

#then this should do 
barplot(t(xx))

John Kane
Kingston ON Canada


> -----Original Message-----
> From: ricardosousa2000 at clix.pt
> Sent: Mon, 25 Jun 2012 09:24:36 -0700 (PDT)
> To: r-help at r-project.org
> Subject: [R] graph displays
> 
> 
> Good Afternoon, I'm trying to create a graph that displays the best way
> the
> following information.
> 
>     For instance organized by bar graph, A, B, C
> 
> 
> 
> Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s
> 1      A     47    63    75   116   125  129  131 131 131 131
> 2      B     37    64    45    11    25   19   61 131 186 186
> 3      C     17    62    25    66    12   29   91 171 186 186
> 
> thanks
> 
> 
> 
> --
> View this message in context:
> http://r.789695.n4.nabble.com/graph-displays-tp4634448.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.

____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails



More information about the R-help mailing list