R/vector.R
lastElement.Rd
Returns the last element using the function tail
lastElement(x)
object
last element: x[length(x)]