Getting data in and out |
|
---|---|
Create a "lazy" data.table for use with dplyr verbs |
|
|
Force computation of a lazy data.table |
Single table verbs |
|
Arrange rows by column values |
|
Count observations by group |
|
Subset distinct/unique rows |
|
Subset rows using column values |
|
Group and ungroup |
|
Apply a function to each group |
|
Subset first or last rows |
|
Create and modify columns |
|
Create new columns, dropping old |
|
Relocate variables using their names |
|
Rename columns using their names |
|
Subset columns using their names |
|
|
Subset rows using their positions |
Summarise each group to one row |
|
Two table verbs |
|
Join data tables |
|
|
Set operations |
tidyr verbs |
|
Complete a data frame with missing combinations of data |
|
Drop rows containing missing values |
|
Expand data frame to include all possible combinations of values. |
|
Fill in missing values with previous or next value |
|
Nest |
|
Pivot data from long to wide |
|
Pivot data from wide to long |
|
Replace NAs with specified values |
|
Separate a character column into multiple columns with a regular expression or numeric locations |
|
Unite multiple columns into one by pasting strings together. |