SyntaxFix
Write A Post
Hire A Developer
Questions
I use the tail function:
tail
tail(vector, n=1)
The nice thing with tail is that it works on dataframes too, unlike the x[length(x)] idiom.
x[length(x)]