Suppose I have a vector that is nested in a dataframe one or two levels. Is there a quick and dirty way to access the last value, without using the length() fu
length()
Package data.table includes last function
data.table
last
library(data.table) last(c(1:10)) # [1] 10