extract-aliases | R Documentation |
`[[`
and `[`
le
—as in list element—is an alias for `[[`
, and ve
—as in vector element—is an alias for `[`
. The functions simply make pipe chains look cleaner.
le(x, index)
ve(x, index)
x |
List or vector |
index |
Index for list or vector |
iris %>% le(1)
iris %>% le("Sepal.Width")
iris %>%
le("Sepal.Length") %>%
ve(1:50) %>%
wilcox.test %>%
le("p.value") %>%
formatp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.