View source: R/convert_vector_to_list.R
convert_vector_to_list | R Documentation |
Converts a vector to list where each element is replicated a certain number of times depending on the previous vector. Also work for ranged lists
convert_vector_to_list(x, x_max = x, verbose = TRUE)
x |
vector or ranged list to be converted |
x_max |
reference vector or ranged list with max values for x |
verbose |
if |
expanded/replicated version of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.