| nrow | R Documentation | 
nrow and ncol return the number of rows or columns
present in x.
## S4 method for signature 'fm' nrow(x) ## S4 method for signature 'fm' ncol(x)
| x | a matrix. | 
an integer of length 1 or NULL.
mat <- fm.runif.matrix(100, 10) nrow(mat) ncol(mat)