| Line 24... |
Line 24... |
| 24 |
\code{NCOL} and \code{NROW} do the same treating a vector as
|
24 |
\code{NCOL} and \code{NROW} do the same treating a vector as
|
| 25 |
1-column matrix, even a 0-length vector, compatibly with
|
25 |
1-column matrix, even a 0-length vector, compatibly with
|
| 26 |
\code{\link{as.matrix}()} or \code{\link{cbind}()}, see the example.
|
26 |
\code{\link{as.matrix}()} or \code{\link{cbind}()}, see the example.
|
| 27 |
}
|
27 |
}
|
| 28 |
\references{
|
28 |
\references{
|
| 29 |
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
|
29 |
\bibshow{R:Becker+Chambers+Wilks:1988}
|
| 30 |
\emph{The New S Language}.
|
- |
|
| 31 |
Wadsworth & Brooks/Cole (\code{ncol} and \code{nrow}.)
|
30 |
(\code{ncol} and \code{nrow}.)
|
| 32 |
}
|
31 |
}
|
| 33 |
\seealso{
|
32 |
\seealso{
|
| 34 |
\code{\link{dim}} which returns \emph{all} dimensions, and
|
33 |
\code{\link{dim}} which returns \emph{all} dimensions, and
|
| 35 |
\code{\link{length}} which gives a number (a \sQuote{count}) also in cases where
|
34 |
\code{\link{length}} which gives a number (a \sQuote{count}) also in cases where
|
| 36 |
\code{dim()} is \code{NULL}, and hence \code{nrow()} and \code{ncol()}
|
35 |
\code{dim()} is \code{NULL}, and hence \code{nrow()} and \code{ncol()}
|