.cstr_pipe | R Documentation |
Exported for custom constructor design.
.cstr_pipe(x, y, ..., pipe = NULL, one_liner = FALSE, indent = TRUE)
x |
A character vector. The code for the left hand side call. |
y |
A character vector. The code for the right hand side call. |
... |
Implemented to collect unused arguments forwarded by the dots of the caller environment. |
pipe |
A string. The pipe to use, |
one_liner |
A boolean. Whether to paste |
indent |
A boolean. Whether to indent |
A character vector
.cstr_pipe("iris", "head(2)", pipe = "magrittr", one_liner = FALSE)
.cstr_pipe("iris", "head(2)", pipe = "magrittr", one_liner = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.