padded_vector | R Documentation |
Grow a vector to a given size, padding it with NULL
if orig
is a list
and with NA
otherwise
padded_vector(orig, size)
orig |
A vector to grow. |
size |
The final size of the vector. |
A vector of size size
padded with NULL
s or NA
s at the end.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.