The R Project SVN R

Rev

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

Rev 8581 Rev 24300
Line 17... Line 17...
17
  \code{nrow} and \code{ncol} return the number of rows or columns
17
  \code{nrow} and \code{ncol} return the number of rows or columns
18
  present in \code{x}.
18
  present in \code{x}.
19
  \code{NCOL} and \code{NROW} do the same treating a vector as
19
  \code{NCOL} and \code{NROW} do the same treating a vector as
20
  1-column matrix.
20
  1-column matrix.
21
}
21
}
-
 
22
\references{
-
 
23
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
-
 
24
  \emph{The New S Language}.
-
 
25
  Wadsworth \& Brooks/Cole (\code{ncol} and \code{nrow}.)
-
 
26
}
22
\seealso{
27
\seealso{
23
  \code{\link{dim}} which returns \emph{all} dimensions;
28
  \code{\link{dim}} which returns \emph{all} dimensions;
24
  \code{\link{array}}, \code{\link{matrix}}.
29
  \code{\link{array}}, \code{\link{matrix}}.
25
}
30
}
26
\value{an \code{\link{integer}} of length 1 or \code{\link{NULL}}.}
31
\value{an \code{\link{integer}} of length 1 or \code{\link{NULL}}.}