pad | R Documentation |
Pads a vector with zeros at the beginning and end.
pad(x, n, startval = 0, endval = 0)
x |
vector to pad |
n |
number of zeros to pad |
startval |
value to add at the start of the vector - defaults to zero |
endval |
value to add at the end of the vector - defaults to zero |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.