[R] its plot with pch-argument

Mäkinen Jussi Jussi.Makinen at valtiokonttori.fi
Mon Feb 21 10:06:32 CET 2005


Hi mighty R-gurus and other enthusiastics,

I just encountered this:

library(its)
x <- its(sort(rnorm(10)), as.POSIXct(Sys.time() + 1:10))
plot(x, type = "p", pch = c(rep("A", 5), rep("B", 5)))

Am I missing something if I expect that all the points labeled as 'A' should be below all those labeled as 'B'? 

Thanks,

Jussi Mäkinen

platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    2              
minor    0.1            
year     2004           
month    11             
day      15             
language R




More information about the R-help mailing list