Select Rows of a Data Frame or List
USAGE:
Rows(x, which)
ARGUMENTS:
- x
-
a data frame or list.
- which
-
a numeric or logical vector used for subscripting each element of
x
.
VALUE:
an object like
x
, but with each element of
x
subscripted
by
which
.
SEE ALSO:
Data frames can also be subscripted as if they were matrices, using the
operator.
EXAMPLES:
key(points = Rows(trellis.par.get("superpose.symbol"), 1:3))