Object dimensions
Returns number of rows or number of columns of rectangular input object.
numCols(x) numRows(x)
x |
rectangular object. |
the number of rows or columns of the input object.
x <- matrix(1:12, nrow=3) numCols(x) numRows(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.