last#

swordfish.function.last()#

Return the last element of a vector, or the last row of a matrix or table.

If the last element is null, the function returns NULL. To get the last non-null element, use lastNot.

参数:

X (Constant) -- A scalar/vector/matrix/table.