View source: R/A002_vectorManipulation.R
pruneStart | R Documentation |
Takes a vector and returns the end of that vector.
pruneStart(x, lengthToKeep)
x |
an input vector |
lengthToKeep |
determines the length of the output |
Returns a vector of a given length from the end of the input vector.
pruneStart(1:10,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.