Description Usage Arguments Value Examples
View source: R/ShortFunctions.R
Set the length of a vector
1 | setlength(x, y)
|
x |
a vector |
y |
integer of length 0 |
The vector x truncated if y < length(x) or padded with NA if y > length(x)
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.