| pull_out | R Documentation |
pull_out() is similar to [. It acts on vectors, matrices, arrays and lists to extract or replace parts. It is pleasant to use with the magrittr (%>%) and base (|>) operators.
pull_out() will return an object of the same class as the input object.
good_choice <- letters %>%
pull_out(c(5, 2, 1, 4))
good_choice
iris %>%
pull_out(, 1:4) %>%
head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.