powered by
Function to extract the last element from a vector or the last column from a matrix
tail_vec(x)
Numeric value if x is a vector, numeric vector if x is a matrix
Vector or matrix