Description Usage Arguments See Also Examples
c_across()
is designed to work with rowwise()
to make it easy to
perform row-wise aggregations. It has two differences from c()
:
It uses tidy select semantics so you can easily select multiple variables.
See vignette("rowwise")
for more details.
It uses vctrs::vec_c()
in order to give safer outputs.
1 | c_across(cols = everything())
|
cols |
< |
across()
for a function that returns a tibble.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.