powered by
Similar to seq_along, it creates sequences of size nrow(x) or ncol(x).
nrow(x)
ncol(x)
rows_along(x)cols_along(x)
cols_along(x)
Any object on which you can call nrow and ncol.
nrow
ncol
# NOT RUN { X <- big_attachExtdata() dim(X) str(rows_along(X)) str(cols_along(X)) # }
Run the code above in your browser using DataLab