Description Usage Arguments Examples
arrow function can check arguments class.
1 | lhs %->% rhs
|
lhs |
formal parameters: any R parsable expression is acceptable,
but |
rhs |
body for lambda |
1 2 3 4 5 6 7 | {} %->% {x + 2}
x %->% {x + 1}
{x; y} %->% {x + y}
{x = 1L; y = 2L} %->% {x + y}
{x:character; e:environment} %->% {get(x, envir = e, inherits = FALSE)}
# see more examples in https://gist.github.com/TobCap/6826123
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.