Skip to content
Prev 180720 / 398502 Next

Simple plotting errors

you mean you want to plot "SUM" against month? (assuming these12 data frames 
are 12 months).

you could first bind them all together using data.frame(), see ?data.frame 
which would make it much easier.

you need to create a variable for months then plot it against your variable. 
If you dont want to make it easier with a data frame then you would have a 
long piece of code as follows (assuming I have understood you correctly)

plot(seq(1:12),c(FeketeJAN$(SUM_)[row.names(FeketeJAN)=="AMAZON"],FeketeFEB$(SUM_)[row.names(FeketeFEB)=="AMAZON"]....etc))

Cheers, Si.


----- Original Message ----- 
From: "Steve Murray" <smurray444 at hotmail.com>
To: <r-help at r-project.org>
Sent: Monday, May 18, 2009 12:17 PM
Subject: [R] Simple plotting errors