Easily Tidy Data with `spread()` and `gather()` Functions


[Up] [Top]

Documentation for package ‘tidyr’ version 0.4.1

Help Pages

complete Complete a data frame with missing combinations of data.
crossing Expand data frame to include all combinations of values
expand Expand data frame to include all combinations of values
extract Extract one column into multiple columns.
extract_numeric Extract numeric component of variable.
fill Fill in missing values.
full_seq Create the full sequence of values in a vector.
gather Gather columns into key-value pairs.
nest Nest repeated values in a list-variable.
nesting Expand data frame to include all combinations of values
replace_na Replace missing values
separate Separate one column into multiple columns.
spread Spread a key-value pair across multiple columns.
unite Unite multiple columns into one.
unnest Unnest a list column.