split_vec_to_list_by_N | R Documentation |
This function divides a given vector into chunks of size by
(default is 9).
The resulting list contains vectors of the specified chunk size or smaller.
split_vec_to_list_by_N(vec = 1:27, by = 9)
vec |
A numeric or character vector to be split. |
by |
Integer value specifying the chunk size. Default is 9. |
A list where each element is a vector containing up to by
elements from vec
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.