[R] Simple plotting errors

Stefan Grosse singularitaet at gmx.net
Mon May 18 13:44:28 CEST 2009


On Mon, 18 May 2009 11:17:50 +0000 Steve Murray
<smurray444 at hotmail.com> wrote:

SM> plot(FeketeJAN[1,2], FeketeFEB[1,2], FeketeMAR[1,2], *through to
SM> December* type="l")

SM> What is it that I'm doing wrong?!

try plot( c(FeketeJAN[1,2], FeketeFEB[1,2], ...)),type="l")

however it is better to create one big data frame like:

Location Mean Sum Month
Amazon   144  ... JAN

all you need is cbind.


hth
Stefan




More information about the R-help mailing list