pop: Pop the final value off the end of vector

Description Usage Arguments Value Author(s) References

View source: R/data.helper.functions.r

Description

pops off the final value on a vector. You do not need to assign the vector to itself again, it is done internally so somewhat against the R way of doing things and it could get you into trouble.

Usage

1
pop(vec)

Arguments

vec

vector of data

Value

pulls/pops off the final value of a vector4

Author(s)

Kevin Wright

References

Kevin Wright http://www.johnmyleswhite.com/notebook/2009/12/07/implementing-push-and-pop-in-r/#comment-17810


duplisea/ddhelper documentation built on Nov. 4, 2019, 11:04 a.m.