Gather a data frame
gather_data(data, variable_name = "item", numeric_ids = c("^id"),
use_logical_keys = TRUE, use_factor_keys = TRUE, unite_columns = NULL,
seperate_columns = NULL, use_date_keys = FALSE, remove_na = TRUE)
a data_frame
variable column name
vector of numeric ids
if TRUE
uses logicals as eys
if TRUE
uses factors as a key
if not NULL
list
new_column : new column name
column_1 : first column to unite
column_2 : second column to unite
sep : seperator
if not NULL
list
column : column to seperate
new_column_1 : new_column 1
new_column_2 : new_column 2
sep : seperator
if TRUE
uses dates as a key
removes NA colums
if not NULL
list
new_column : new column name
column_1 : first column to unite
column_2 : second column to unite
sep : seperator
if not NULL
list
column : column to seperate
new_column_1 : new_column 1
new_column_2 : new_column 2
sep : seperator
a data_frame