pruneStart: pruneStart

View source: R/A002_vectorManipulation.R

pruneStartR Documentation

pruneStart

Description

Takes a vector and returns the end of that vector.

Usage

pruneStart(x, lengthToKeep)

Arguments

x

an input vector

lengthToKeep

determines the length of the output

Value

Returns a vector of a given length from the end of the input vector.

Examples

pruneStart(1:10,4)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.