rows_along {bigparallelr} | R Documentation |
rows_along(x)
: seq_len(nrow(x))
cols_along(x)
: seq_len(ncol(x))
seq_range(lims)
: seq(lims[1], lims[2])
rows_along(x)
cols_along(x)
seq_range(lims)
x |
Any object on which you can call |
lims |
Vector of size 2 (or more, but only first 2 values will be used). |
X <- matrix(1:6, 2, 3)
dim(X)
rows_along(X)
cols_along(X)
seq_range(c(3, 10))