ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
packagefuncsPartPresented in 2021NameWeek to PresentDescription
2
dplyrdistinct()Part 3Subset distinct/unique rows
3
dplyrfirst()Part 3Extract the first, last or nth value from a vector
4
dplyrlast()Part 3Extract the first, last or nth value from a vector
5
dplyrnear()Part 3Compare two numeric vectors
6
dplyrpull()Part 3Saffron9Extract a column as a vector
7
dplyrrelocate()Part 3xTrisha8
Use relocate() to change column positions, using the same syntax as select() to make it easy to move blocks of columns at once
8
dplyrslice_max()Part 3xIsabel11select rows with highest or lowest values of a variable.
9
dplyrslice_min()Part 3Isabel11select rows with highest or lowest values of a variable.
10
dplyrslice_sample()Part 3randomly selects rows.
11
ggplot2geom_density()Part 3xMary 3Adds a density plot that can show distribution of variables
12
ggplot2geom_hex()Part 3Hexagonal heatmap of 2d bin counts
13
ggplot2geom_jitter()Part 3x
adds a small amount of random variation to the location of each point, and is a useful way of handling overplotting caused by discreteness in smaller datasets.
14
ggplot2geom_smooth()Part 3xMia8Aids the eye in seeing patterns in the presence of overplotting.
15
havenzap_label()Part 3
Removes label, leaving unlabelled vectors as is. Use this if you want to simply drop all label attributes from a data frame.
16
janitorget_dupes()Part 3Becky6Get rows of a 'data.frame' with identical values for the specified variables.
17
janitorremove_empty()Part 3Remove empty rows or columns from a data.frame
18
openxlsxwrite.xlsx()Part 3Write data.frame or a list of data.frames to an xlsx file
19
dplyradd_count()Part 4Add a column with group counts
20
dplyrcount()Part 4xCount observations by group
21
dplyrlead()Part 4xCompute lagged or leading values
22
dplyrn_distinct()Part 4Joseph10Efficiently count the number of unique values in a set of vectors
23
dplyrntile()Part 4Qijia4Categorize a vector into percentiles
24
dplyrrecode()Part 4Replace values
25
ggplot2geom_tile()Part 4xPlot rectangles and heatmaps
26
tidyrseparate_rows()Part 4xSeparate a collapsed column into multiple rows
27
tidyrunite()Part 4xUnite multiple columns into one by pasting strings together
28
dplyrlag()Part 5Compute lagged or leading values
29
forcatsfct_collapse()Part 5Libby White5Collapse factor levels into manually defined groups
30
forcatsfct_infreq()Part 5xLiz Wagner10Reorder factor levels by frequency
31
forcatsfct_lump()Part 5Kathryn Liu5Lump together factor levels into "other"
32
forcatsfct_recode()Part 5Change factor levels by hand
33
forcatsfct_relevel()Part 5x9Reorder factor levels by hand
34
forcatsfct_rev()Part 5Reverse order of factor levels: example should use ggplot2
35
lubridateceiling_date()Part 5Round, floor and ceiling methods for date-time objects
36
lubridatefloor_date()Part 5xRound, floor and ceiling methods for date-time objects
37
lubridateforce_tz()Part 5Replace time zone to create new date-time
38
scalesbreaks_pretty()Part 5xAshley Blair6Pretty breaks for date/times
39
scalespercent()Part 5barbara casseseLabel percentages
40
stringrstr_detect_all()Part 5Ngoc Le9Detect the presence or absence of a pattern in a string.
41
stringrstr_flatten()Part 5Collapse a string vector into one string
42
stringrstr_match()Part 5
this is a bit advanced, requiring knowledge of regex; create groups and filter based on regex expression
43
stringrstr_trim()Part 5Trim whitespace from a string
44
stringrstr_wrap()Part 5xWrap strings into nicely formatted paragraphs.
45
tidyrcrossing()Part 5xExpand data frame to include all possible combinations of values
46
tidyrdrop_na()Part 5xLaura Jacobson7Drop rows containing missing values
47
tidyrexpand_grid()Part 5Create a tibble from all combinations of inputs
48
tidyrextract()Part 5Shauna Rakshe6
this is a bit advanced, requiring knowledge of regex; create groups and filter based on regex expression
49
tidyruncount()Part 5Duplicate rows according to a weighting variable
50
dplyrcoalesce()Part 6Yan Liu6Find first non-missing element
51
dplyrrowwise()Part 6Compute on a data frame a row-at-a-time
52
purrrpluck()Part 6xPluck or chuck a single element from a vector or environment
53
purrrwalk()Part 6xApply a function to each element of a list or atomic vector
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100