The R Project SVN R

Rev

Rev 25118 | Rev 35657 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25118 Rev 27447
Line 41... Line 41...
41
  \emph{The New S Language}.
41
  \emph{The New S Language}.
42
  Wadsworth \& Brooks/Cole.
42
  Wadsworth \& Brooks/Cole.
43
}
43
}
44
\seealso{
44
\seealso{
45
  \code{\link{lapply}}, \code{\link{tapply}}, and convenience functions
45
  \code{\link{lapply}}, \code{\link{tapply}}, and convenience functions
46
  \code{\link{sweep}} and \code{\link{aggregate}}.
46
  \code{\link{sweep}} and \code{\link[stats]{aggregate}}.
47
}
47
}
48
\examples{
48
\examples{
49
## Compute row and column sums for a matrix:
49
## Compute row and column sums for a matrix:
50
x <- cbind(x1 = 3, x2 = c(4:1, 2:5))
50
x <- cbind(x1 = 3, x2 = c(4:1, 2:5))
51
dimnames(x)[[1]] <- letters[1:8]
51
dimnames(x)[[1]] <- letters[1:8]