last {data.table} | R Documentation |
Returns last item of a vector, or last row of a matrix, data.frame or data.table.
last(x)
x |
A vector, matrix, data.frame or data.table |
The last item. If x is a data.table, the last row is returned at a one row data.table.
Matt Dowle