Cuts all elements from a list, up to the given element. Accepts 2 parameters, a list and an element.
1 | cutListByElement(fullList, element)
|
1 | cutListByElement(c(20, 12, 4), 12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.