Description Usage Arguments Value References See Also Examples
nrow and ncol return the number of rows or columns
present in x.
NCOL and NROW do the same treating a vector as
1-column matrix.
1 2 3 4 |
x |
a vector, array or data frame |
an integer of length 1 or NULL.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
The New S Language.
Wadsworth & Brooks/Cole (ncol and nrow.)
dim which returns all dimensions;
array, matrix.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.