lengthen | R Documentation |
Pad a vector to the desired length by adding NA
.
lengthen(vec, desired_length)
vec |
The vector |
desired_length |
The length of the final vector |
A the input vector with NA
appended until it reaches
desired_length
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.