| discard_end_while | R Documentation |
Discard all values at the end of .x while .p is true
discard_end_while(.x, .p)
.x |
Vector |
.p |
Logical vector |
A vector the same type as .x with trailing elements removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.