last

0th

Percentile

Last item of an object

Returns last item of a vector, or last row of a matrix, data.frame or data.table.

Keywords
data
Usage
last(x)
Arguments
x
A vector, matrix, data.frame or data.table
Value

  • The last item. If x is a data.table, the last row is returned at a one row data.table.

See Also

NROW

Aliases
  • last
Documentation reproduced from package data.table, version 1.7.6, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.