| last | R Documentation | 
Extract the last element of a vector. Useful for the turnogram() function
last(x, na.rm=FALSE)
| x | a numerical vector | 
| na.rm |  if  | 
a numerical value
Philippe Grosjean (phgrosjean@sciviews.org), Frédéric Ibanez (ibanez@obs-vlfr.fr)
first, turnogram 
a <- c(NA, 1, 2, NA, 3, 4, NA)
last(a)
last(a, na.rm=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.