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


[Up] [Top]

Documentation for package ‘tidyr’ version 0.6.0

Help Pages

complete Complete a data frame with missing combinations of data.
crossing Expand data frame to include all combinations of values
crossing_ Expand data frame to include all combinations of values
drop_na Drop rows containing missing 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
nesting_ Expand data frame to include all combinations of values
population World Health Organization TB data
replace_na Replace missing values
separate Separate one column into multiple columns.
separate_rows Separate a collapsed column into multiple rows.
separate_rows_ Standard-evaluation version of 'separate_rows'.
smiths Some data about the Smith family.
spread Spread a key-value pair across multiple columns.
table1 Example tabular representations
table2 Example tabular representations
table3 Example tabular representations
table4a Example tabular representations
table4b Example tabular representations
table5 Example tabular representations
unite Unite multiple columns into one.
unnest Unnest a list column.
who World Health Organization TB data