gather_ {tidyr} | R Documentation |
This is a S3 generic.
gather_(data, key_col, value_col, gather_cols, na.rm = FALSE, convert = FALSE, factor_key = FALSE)
data |
A data frame |
key_col, value_col |
Strings giving names of key and value columns to create. |
gather_cols |
Character vector giving column names to be gathered into pair of key-value columns. |
na.rm |
If |
convert |
If |
factor_key |
If |