vec_init | R Documentation |
Initialize a vector
vec_init(x, n = 1L)
x |
Template of vector to initialize. |
n |
Desired size of result. |
vec_slice()
vec_init(1:10, 3)
vec_init(Sys.Date(), 5)
vec_init(mtcars, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.