seq_nrow {Nmisc} | R Documentation |
Creates a sequence based on the number of rows or columns
Description
Creates a sequence from 1 to the number of row or columns, respectively.
Usage
seq_nrow(x)
seq_ncol(x)
Arguments
x |
a data frame or a matrix |
Value
a vector of integers
See Also
[Package Nmisc version 0.3.7 Index]