Description Usage Arguments Examples
rows_along(x)
: seq_len(nrow(x))
cols_along(x)
: seq_len(ncol(x))
seq_range(lims)
: seq(lims[1], lims[2])
1 2 3 4 5 | 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). |
1 2 3 4 5 6 | 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.