droplast | R Documentation |
Drops last entry in the list x if this entry is character
droplast(x)
x |
the list |
list with omitted last element
a <- list(x = 5, y = "last")
cbr:::droplast(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.