Description Usage Arguments See Also Examples
Coalesce a set of fields to an existing column 'col' in the order in which the arguments are supplied with 'col' leading.
1 |
data |
A dataframe or tibble. |
col |
Target column. |
... |
Other columns in addition to 'col' that will be coalesced in the correct order of precedence. |
remove |
Should columns supplied in '...' be removed in the output? |
tidyeval-compat
,select
,mutate_all
,vars
,mutate
,coalesce
,select_all
Other coalesce functions:
coalesce_to()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.