split_vector | R Documentation |
Split Vector
split_vector(x, steps = NULL, size = NULL, replacement = 0)
x |
a numeric or character vector |
steps |
the number of steps |
size |
the size of the step |
replacement |
value to be inserted on the diagonal, by default this is zero (0). |
Either steps or size is expected to be provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.