find.last | R Documentation |
Find the location of final TRUE value in a boolean vector
find.last(v)
v |
a logical vector |
an integer denotating the location, return NA if not found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.