rows_along | 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.