https://github.com/cran/lattice
Revision 35053e8aa96e7b9e13cdd257a3ea530c82abd8dc authored by Deepayan Sarkar on 06 March 2012, 00:00:00 UTC, committed by Gabor Csardi on 06 March 2012, 00:00:00 UTC
1 parent 53d9745
Raw File
Tip revision: 35053e8aa96e7b9e13cdd257a3ea530c82abd8dc authored by Deepayan Sarkar on 06 March 2012, 00:00:00 UTC
version 0.20-5
Tip revision: 35053e8
Rows.Rd
\name{G_Rows}
\alias{Rows}
\title{Extract rows from a list}
\description{
  Convenience function to extract subset of a list. Usually used in
  creating keys.
}
\usage{
Rows(x, which)
}
\arguments{
  \item{x}{ list with each member a vector of the same length }
  \item{which}{ index for members of \code{x}}
}
\value{
  A list similar to \code{x}, with each \code{x[[i]]} replaced by
  \code{x[[i]][which]}
}
\author{ Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}
\seealso{\code{\link{xyplot}}, \code{\link{Lattice}}}
\keyword{utilities}
















back to top