[R] selection of multiple subscripts

e-letter inpost at gmail.com
Wed Jan 13 13:36:57 CET 2010


Readers,

For a data set 'x':

1 a
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i

How to select multiple subscripts to plot? For example to plot values
1:3 and 9:10:

plot(x[1:3,1],x[,2])

and

plot(x[9:10,1],x[,2])

into one plot?

Yours,

rhelpatconference.jabber.org
r251



More information about the R-help mailing list