reduce_cols | R Documentation |
reduce multiple columns into single column by funton .reduce.
reduce_cols(
data,
col,
...,
.keep = FALSE,
.before = NULL,
.after = NULL,
.reduce = function(x, y) {
return(x)
}
)
data |
table |
col |
column |
... |
merged columns |
.keep |
whether the merged column are kept or removed. |
.before |
location of column before brabra. |
.after |
location of column after brabra. |
.reduce |
reduce function; default is the first column which is not NA |
data with the reseved columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.