| autofill | R Documentation |
Autofill a vector to a target length with the specified element
autofill(v, len, fillwith = NA)
v |
A |
len |
An |
fillwith |
The specified element used to fill the empty cells |
If the length of v is less than len, the function will introduce
fillwith for empty cells.
Nothing will be done if the length of v is equal to or larger than len.
A new vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.