This document provides a running list of all packages and functions introduced in the DataCamp lecture slides. It will only include the functions explicitly shown in the slides. Therefore, it excludes functions discussed only in the interactive interface.
I will try to update it each Tuesday, just before class. If I forget, please email me.
To get additional information:
-
learn about a package by typing
help(package = "PACKAGE_NAME")
into the R console.
-
find package tutorials by typing
browseVignettes(package = "PACKAGE_NAME")
-
learn about a function by typing
??function_name
(two question marks) into the R console.
-
if you already have the package loaded into memory, you can just type
?function_name
(one question mark)
-
or, if you know the name of the package, you can type
?package_name::function_name
-
or you can search for the function at
rdocumentation.org
2 - Introduction To The Tidyverse
Packages Used
chapter1
|
dplyr
|
chapter1
|
gapminder
|
chapter2
|
ggplot2
|
Functions Used
chapter1
|
filter()
|
5
|
chapter1
|
arrange()
|
4
|
chapter1
|
desc()
|
3
|
chapter1
|
mutate()
|
3
|
chapter1
|
library()
|
2
|
chapter2
|
aes()
|
6
|
chapter2
|
geom_point()
|
6
|
chapter2
|
ggplot()
|
6
|
chapter2
|
library()
|
2
|
chapter2
|
facet_wrap()
|
1
|
chapter2
|
filter()
|
1
|
chapter3
|
mean()
|
9
|
chapter3
|
summarize()
|
9
|
chapter3
|
sum()
|
7
|
chapter3
|
filter()
|
5
|
chapter3
|
group_by()
|
5
|
chapter3
|
aes()
|
3
|
chapter3
|
geom_point()
|
3
|
chapter3
|
ggplot()
|
3
|
chapter3
|
expand_limits()
|
2
|
chapter4
|
aes()
|
7
|
chapter4
|
ggplot()
|
7
|
chapter4
|
geom_histogram()
|
3
|
chapter4
|
expand_limits()
|
2
|
chapter4
|
geom_line()
|
2
|
chapter4
|
geom_point()
|
2
|
chapter4
|
filter()
|
1
|
chapter4
|
geom_boxplot()
|
1
|
chapter4
|
geom_col()
|
1
|
chapter4
|
group_by()
|
1
|
chapter4
|
mean()
|
1
|
chapter4
|
summarize()
|
1
|
3a - Introduction To Importing Data In R
Packages Used
chapter2
|
data.table
|
chapter2
|
readr
|
chapter3
|
gdata
|
chapter3
|
readxl
|
chapter4
|
“XLConnect”
|
chapter4
|
XLConnect
|
chapter4
|
readxl
|
Functions Used
chapter1
|
csv()
|
9
|
chapter1
|
table()
|
5
|
chapter1
|
delim()
|
4
|
chapter1
|
path()
|
1
|
chapter1
|
str()
|
1
|
chapter2
|
read_delim()
|
7
|
chapter2
|
fread()
|
6
|
chapter2
|
table()
|
3
|
chapter2
|
c()
|
2
|
chapter2
|
library()
|
2
|
chapter2
|
packages()
|
2
|
chapter2
|
csv()
|
1
|
chapter2
|
delim()
|
1
|
chapter2
|
read_csv()
|
1
|
chapter2
|
read_tsv()
|
1
|
chapter3
|
read_excel()
|
19
|
chapter3
|
excel_sheets()
|
5
|
chapter3
|
xls()
|
4
|
chapter3
|
c()
|
3
|
chapter3
|
library()
|
2
|
chapter3
|
packages()
|
2
|
chapter3
|
dir()
|
1
|
chapter4
|
renameSheet()
|
8
|
chapter4
|
library()
|
7
|
chapter4
|
loadWorkbook()
|
7
|
chapter4
|
createSheet()
|
6
|
chapter4
|
saveWorkbook()
|
5
|
chapter4
|
readWorksheet()
|
4
|
chapter4
|
removeSheet()
|
4
|
chapter4
|
writeWorksheet()
|
4
|
chapter4
|
c()
|
2
|
chapter4
|
getSheets()
|
2
|
chapter4
|
excel_sheets()
|
1
|
chapter4
|
frame()
|
1
|
chapter4
|
packages()
|
1
|
chapter4
|
str()
|
1
|
4 - Exploratory Data Analysis In R
Functions Used
ch1
|
table()
|
9
|
ch1
|
aes()
|
8
|
ch1
|
geom_bar()
|
8
|
ch1
|
ggplot()
|
8
|
ch1
|
ylab()
|
5
|
ch1
|
levels()
|
3
|
ch1
|
facet_wrap()
|
1
|
ch1
|
library()
|
1
|
ch1
|
options()
|
1
|
ch1
|
sum()
|
1
|
ch2_v2
|
aes()
|
26
|
ch2_v2
|
ggplot()
|
26
|
ch2_v2
|
geom_histogram()
|
10
|
ch2_v2
|
geom_density()
|
8
|
ch2_v2
|
geom_boxplot()
|
7
|
ch2_v2
|
filter()
|
6
|
ch2_v2
|
stat_bin()
|
6
|
ch2_v2
|
coord_flip()
|
4
|
ch2_v2
|
facet_wrap()
|
4
|
ch2_v2
|
facet_grid()
|
3
|
ch2_v2
|
factor()
|
3
|
ch2_v2
|
geom_dotplot()
|
1
|
ch2_v2
|
str()
|
1
|
ch2_v2
|
table()
|
1
|
ch3
|
mean()
|
13
|
ch3
|
sum()
|
6
|
ch3
|
aes()
|
4
|
ch3
|
geom_density()
|
4
|
ch3
|
ggplot()
|
4
|
ch3
|
group_by()
|
4
|
ch3
|
median()
|
4
|
ch3
|
summarize()
|
3
|
ch3
|
var()
|
3
|
ch3
|
IQR()
|
2
|
ch3
|
diff()
|
2
|
ch3
|
filter()
|
2
|
ch3
|
mutate()
|
2
|
ch3
|
range()
|
2
|
ch3
|
sd()
|
2
|
ch3
|
slice()
|
2
|
ch3
|
sort()
|
2
|
ch3
|
table()
|
2
|
ch3
|
arrange()
|
1
|
ch3
|
c()
|
1
|
ch3
|
desc()
|
1
|
ch3
|
head()
|
1
|
ch3
|
log()
|
1
|
ch3
|
round()
|
1
|
ch3
|
summary()
|
1
|
ch4
|
aes()
|
20
|
ch4
|
ggplot()
|
20
|
ch4
|
geom_bar()
|
9
|
ch4
|
mutate()
|
8
|
ch4
|
geom_density()
|
5
|
ch4
|
facet_wrap()
|
4
|
ch4
|
factor()
|
4
|
ch4
|
geom_boxplot()
|
3
|
ch4
|
geom_histogram()
|
3
|
ch4
|
group_by()
|
2
|
ch4
|
mean()
|
2
|
ch4
|
c()
|
1
|
ch4
|
filter()
|
1
|
ch4
|
levels()
|
1
|
ch4
|
log()
|
1
|
ch4
|
slice()
|
1
|
ch4
|
summarize()
|
1
|
ch4
|
table()
|
1
|
5 - Analyzing Survey Data In R
Packages Used
chapter1
|
NHANES
|
chapter1
|
dplyr
|
chapter1
|
survey
|
chapter2
|
dplyr
|
chapter2
|
ggplot2
|
Functions Used
chapter1
|
library()
|
5
|
chapter1
|
svydesign()
|
4
|
chapter1
|
dim()
|
1
|
chapter1
|
distinct()
|
1
|
chapter1
|
mean()
|
1
|
chapter1
|
mutate()
|
1
|
chapter1
|
sum()
|
1
|
chapter1
|
summarize()
|
1
|
chapter2
|
aes()
|
6
|
chapter2
|
coord_flip()
|
6
|
chapter2
|
ggplot()
|
6
|
chapter2
|
geom_col()
|
5
|
chapter2
|
library()
|
4
|
chapter2
|
scale_x_discrete()
|
4
|
chapter2
|
svytable()
|
3
|
chapter2
|
arrange()
|
2
|
chapter2
|
desc()
|
2
|
chapter2
|
frame()
|
2
|
chapter2
|
mutate()
|
2
|
chapter2
|
sum()
|
2
|
chapter2
|
svychisq()
|
2
|
chapter2
|
geom_bar()
|
1
|
chapter2
|
group_by()
|
1
|
chapter2
|
n()
|
1
|
chapter2
|
summarize()
|
1
|
chapter3
|
aes()
|
5
|
chapter3
|
ggplot()
|
5
|
chapter3
|
labs()
|
5
|
chapter3
|
filter()
|
3
|
chapter3
|
mutate()
|
3
|
chapter3
|
na()
|
3
|
chapter3
|
svyby()
|
3
|
chapter3
|
geom_col()
|
2
|
chapter3
|
geom_density()
|
2
|
chapter3
|
sum()
|
2
|
chapter3
|
facet_wrap()
|
1
|
chapter3
|
geom_errorbar()
|
1
|
chapter3
|
geom_histogram()
|
1
|
chapter3
|
group_by()
|
1
|
chapter3
|
select()
|
1
|
chapter3
|
svymean()
|
1
|
chapter3
|
svyquantile()
|
1
|
chapter3
|
svytotal()
|
1
|
chapter3
|
svyttest()
|
1
|
chapter4
|
aes()
|
10
|
chapter4
|
E()
|
8
|
chapter4
|
ggplot()
|
8
|
chapter4
|
geom_jitter()
|
7
|
chapter4
|
svyglm()
|
7
|
chapter4
|
guides()
|
6
|
chapter4
|
Pr()
|
5
|
chapter4
|
filter()
|
3
|
chapter4
|
geom_smooth()
|
3
|
chapter4
|
select()
|
3
|
chapter4
|
summary()
|
3
|
chapter4
|
svydesign()
|
3
|
chapter4
|
geom_point()
|
2
|
chapter4
|
case_when()
|
1
|
chapter4
|
geom_col()
|
1
|
chapter4
|
geom_density()
|
1
|
chapter4
|
geom_histogram()
|
1
|
chapter4
|
mutate()
|
1
|
chapter4
|
svyby()
|
1
|
chapter4
|
svychisq()
|
1
|
chapter4
|
svymean()
|
1
|
chapter4
|
svyquantile()
|
1
|
chapter4
|
svyratio()
|
1
|
chapter4
|
svytable()
|
1
|
chapter4
|
svytotal()
|
1
|
chapter4
|
svyttest()
|
1
|
6 - Visualizing Geospatial Data In R
Packages Used
chapter1
|
ggmap
|
chapter1
|
ggplot2
|
chapter2
|
tmap
|
chapter3
|
RColorBrewer
|
chapter3
|
classInt
|
chapter3
|
raster
|
chapter3
|
sp
|
chapter3
|
viridisLite
|
chapter4
|
raster
|
chapter4
|
rgdal
|
chapter4
|
sp
|
Functions Used
chapter1
|
c()
|
9
|
chapter1
|
ggmap()
|
9
|
chapter1
|
get_map()
|
6
|
chapter1
|
aes()
|
5
|
chapter1
|
geom_point()
|
5
|
chapter1
|
ggplot()
|
4
|
chapter1
|
head()
|
3
|
chapter1
|
library()
|
3
|
chapter1
|
facet_wrap()
|
1
|
chapter1
|
nrow()
|
1
|
chapter2
|
tm_borders()
|
4
|
chapter2
|
tm_shape()
|
4
|
chapter2
|
attr()
|
3
|
chapter2
|
data()
|
3
|
chapter2
|
library()
|
3
|
chapter2
|
str()
|
3
|
chapter2
|
tm_fill()
|
3
|
chapter2
|
slot()
|
2
|
chapter2
|
summary()
|
2
|
chapter2
|
head()
|
1
|
chapter2
|
string()
|
1
|
chapter2
|
tm_bubbles()
|
1
|
chapter2
|
tm_compass()
|
1
|
chapter2
|
tm_dots()
|
1
|
chapter2
|
tm_lines()
|
1
|
chapter2
|
tm_polygons()
|
1
|
chapter2
|
tm_raster()
|
1
|
chapter2
|
tm_text()
|
1
|
chapter2
|
tmap_style()
|
1
|
chapter3
|
library()
|
5
|
chapter3
|
classIntervals()
|
4
|
chapter3
|
all()
|
1
|
chapter3
|
c()
|
1
|
chapter3
|
head()
|
1
|
chapter3
|
pal()
|
1
|
chapter3
|
viridis()
|
1
|
chapter4
|
string()
|
8
|
chapter4
|
SpatialPolygonsDataFrame()
|
5
|
chapter4
|
dir()
|
4
|
chapter4
|
library()
|
4
|
chapter4
|
spTransform()
|
4
|
chapter4
|
str()
|
3
|
chapter4
|
merge()
|
2
|
chapter4
|
raster()
|
2
|
chapter4
|
readOGR()
|
2
|
chapter4
|
SpatialPoints()
|
1
|
chapter4
|
attr()
|
1
|
chapter4
|
frame()
|
1
|
chapter4
|
function()
|
1
|
chapter4
|
plot()
|
1
|
chapter4
|
readGDAL()
|
1
|
chapter4
|
sapply()
|
1
|
chapter4
|
summary()
|
1
|
7 - Analyzing Us Census Data In R
Packages Used
chapter1
|
tidycensus
|
chapter1
|
tidyverse
|
chapter2
|
tidycensus
|
chapter2
|
tidyverse
|
chapter3
|
sf
|
chapter3
|
tidyverse
|
chapter3
|
tigris
|
chapter4
|
ggplot2
|
chapter4
|
mapview
|
chapter4
|
sf
|
chapter4
|
tidycensus
|
chapter4
|
tidyverse
|
chapter4
|
tigris
|
Functions Used
chapter1
|
get_acs()
|
5
|
chapter1
|
library()
|
4
|
chapter1
|
c()
|
3
|
chapter1
|
aes()
|
2
|
chapter1
|
geom_point()
|
2
|
chapter1
|
ggplot()
|
2
|
chapter1
|
head()
|
2
|
chapter1
|
census_api_key()
|
1
|
chapter1
|
filter()
|
1
|
chapter1
|
get_decennial()
|
1
|
chapter1
|
labs()
|
1
|
chapter1
|
load_variables()
|
1
|
chapter1
|
reorder()
|
1
|
chapter1
|
scale_x_continuous()
|
1
|
chapter1
|
str_detect()
|
1
|
chapter1
|
theme_minimal()
|
1
|
chapter2
|
get_acs()
|
6
|
chapter2
|
c()
|
5
|
chapter2
|
aes()
|
4
|
chapter2
|
group_by()
|
4
|
chapter2
|
library()
|
4
|
chapter2
|
mutate()
|
4
|
chapter2
|
geom_errorbarh()
|
3
|
chapter2
|
filter()
|
2
|
chapter2
|
geom_point()
|
2
|
chapter2
|
ggplot()
|
2
|
chapter2
|
moe_sum()
|
2
|
chapter2
|
select()
|
2
|
chapter2
|
sum()
|
2
|
chapter2
|
summarize()
|
2
|
chapter2
|
arrange()
|
1
|
chapter2
|
case_when()
|
1
|
chapter2
|
function()
|
1
|
chapter2
|
geom_errorbar()
|
1
|
chapter2
|
labs()
|
1
|
chapter2
|
map_df()
|
1
|
chapter2
|
max()
|
1
|
chapter2
|
moe_product()
|
1
|
chapter2
|
moe_prop()
|
1
|
chapter2
|
moe_ratio()
|
1
|
chapter2
|
reorder()
|
1
|
chapter2
|
str_replace()
|
1
|
chapter2
|
tally()
|
1
|
chapter2
|
theme_grey()
|
1
|
chapter3
|
plot()
|
7
|
chapter3
|
c()
|
6
|
chapter3
|
geom_sf()
|
5
|
chapter3
|
library()
|
5
|
chapter3
|
tracts()
|
5
|
chapter3
|
counties()
|
4
|
chapter3
|
ggplot()
|
4
|
chapter3
|
aes()
|
3
|
chapter3
|
rbind_tigris()
|
3
|
chapter3
|
attr()
|
2
|
chapter3
|
options()
|
2
|
chapter3
|
par()
|
2
|
chapter3
|
scale_fill_manual()
|
2
|
chapter3
|
class()
|
1
|
chapter3
|
coord_sf()
|
1
|
chapter3
|
function()
|
1
|
chapter3
|
glimpse()
|
1
|
chapter3
|
head()
|
1
|
chapter3
|
labs()
|
1
|
chapter3
|
left_join()
|
1
|
chapter3
|
map()
|
1
|
chapter3
|
primary_secondary_roads()
|
1
|
chapter3
|
st_geometry()
|
1
|
chapter3
|
state_legislative_districts()
|
1
|
chapter3
|
theme_minimal()
|
1
|
chapter3
|
tigris_cache_dir()
|
1
|
chapter4
|
geom_sf()
|
11
|
chapter4
|
library()
|
7
|
chapter4
|
aes()
|
6
|
chapter4
|
ggplot()
|
6
|
chapter4
|
plot()
|
5
|
chapter4
|
c()
|
3
|
chapter4
|
coord_sf()
|
3
|
chapter4
|
get_acs()
|
3
|
chapter4
|
filter()
|
2
|
chapter4
|
labs()
|
2
|
chapter4
|
scale_color_viridis_c()
|
2
|
chapter4
|
scale_fill_viridis_c()
|
2
|
chapter4
|
st_sample()
|
2
|
chapter4
|
area_water()
|
1
|
chapter4
|
counties()
|
1
|
chapter4
|
facet_wrap()
|
1
|
chapter4
|
function()
|
1
|
chapter4
|
group_by()
|
1
|
chapter4
|
head()
|
1
|
chapter4
|
left_join()
|
1
|
chapter4
|
map()
|
1
|
chapter4
|
mapview()
|
1
|
chapter4
|
mutate()
|
1
|
chapter4
|
options()
|
1
|
chapter4
|
reduce()
|
1
|
chapter4
|
roads()
|
1
|
chapter4
|
sample_frac()
|
1
|
chapter4
|
scale_color_brewer()
|
1
|
chapter4
|
scale_fill_brewer()
|
1
|
chapter4
|
scale_size_continuous()
|
1
|
chapter4
|
school_districts()
|
1
|
chapter4
|
st_centroid()
|
1
|
chapter4
|
st_sf()
|
1
|
chapter4
|
summarize()
|
1
|
chapter4
|
theme_minimal()
|
1
|
8 - Introduction To Regression In R
Packages Used
chapter1
|
dplyr
|
chapter1
|
ggplot2
|
chapter2
|
broom
|
chapter2
|
dplyr
|
chapter2
|
tibble
|
chapter3
|
broom
|
chapter3
|
dplyr
|
chapter3
|
ggfortify
|
chapter3
|
ggplot2
|
chapter4
|
ggplot2
|
chapter4
|
yardstick
|
Functions Used
chapter1
|
lm()
|
7
|
chapter1
|
library()
|
4
|
chapter1
|
aes()
|
3
|
chapter1
|
ggplot()
|
3
|
chapter1
|
geom_point()
|
2
|
chapter1
|
summarize()
|
2
|
chapter1
|
cor()
|
1
|
chapter1
|
facet_wrap()
|
1
|
chapter1
|
geom_histogram()
|
1
|
chapter1
|
geom_smooth()
|
1
|
chapter1
|
group_by()
|
1
|
chapter1
|
mean()
|
1
|
chapter1
|
summarize_all()
|
1
|
chapter1
|
vars()
|
1
|
chapter2
|
geom_point()
|
12
|
chapter2
|
lm()
|
11
|
chapter2
|
aes()
|
9
|
chapter2
|
geom_smooth()
|
9
|
chapter2
|
ggplot()
|
9
|
chapter2
|
predict()
|
9
|
chapter2
|
tibble()
|
8
|
chapter2
|
summary()
|
6
|
chapter2
|
library()
|
5
|
chapter2
|
mutate()
|
4
|
chapter2
|
sqrt()
|
4
|
chapter2
|
I()
|
3
|
chapter2
|
fitted()
|
3
|
chapter2
|
Pr()
|
2
|
chapter2
|
augment()
|
2
|
chapter2
|
coefficients()
|
2
|
chapter2
|
filter()
|
2
|
chapter2
|
glance()
|
2
|
chapter2
|
residuals()
|
2
|
chapter2
|
seq()
|
2
|
chapter2
|
tidy()
|
2
|
chapter2
|
coord_fixed()
|
1
|
chapter2
|
geom_abline()
|
1
|
chapter2
|
select()
|
1
|
chapter3
|
library()
|
8
|
chapter3
|
mutate()
|
8
|
chapter3
|
aes()
|
6
|
chapter3
|
autoplot()
|
6
|
chapter3
|
glance()
|
6
|
chapter3
|
residuals()
|
6
|
chapter3
|
summarize()
|
6
|
chapter3
|
geom_smooth()
|
5
|
chapter3
|
sum()
|
5
|
chapter3
|
augment()
|
4
|
chapter3
|
geom_point()
|
4
|
chapter3
|
ggplot()
|
4
|
chapter3
|
lm()
|
4
|
chapter3
|
n()
|
4
|
chapter3
|
summary()
|
4
|
chapter3
|
sqrt()
|
3
|
chapter3
|
arrange()
|
2
|
chapter3
|
desc()
|
2
|
chapter3
|
filter()
|
2
|
chapter3
|
head()
|
2
|
chapter3
|
pull()
|
2
|
chapter3
|
select()
|
2
|
chapter3
|
cor()
|
1
|
chapter3
|
distance()
|
1
|
chapter3
|
hatvalues()
|
1
|
chapter4
|
glm()
|
8
|
chapter4
|
aes()
|
7
|
chapter4
|
geom_point()
|
6
|
chapter4
|
ggplot()
|
6
|
chapter4
|
predict()
|
5
|
chapter4
|
mutate()
|
4
|
chapter4
|
round()
|
4
|
chapter4
|
summary()
|
4
|
chapter4
|
geom_abline()
|
3
|
chapter4
|
slice()
|
3
|
chapter4
|
geom_hline()
|
2
|
chapter4
|
geom_line()
|
2
|
chapter4
|
geom_smooth()
|
2
|
chapter4
|
library()
|
2
|
chapter4
|
list()
|
2
|
chapter4
|
lm()
|
2
|
chapter4
|
autoplot()
|
1
|
chapter4
|
coefficients()
|
1
|
chapter4
|
conf_mat()
|
1
|
chapter4
|
fitted()
|
1
|
chapter4
|
log()
|
1
|
chapter4
|
seq()
|
1
|
chapter4
|
table()
|
1
|
chapter4
|
tibble()
|
1
|
chapter4
|
xlim()
|
1
|
chapter4
|
ylim()
|
1
|
9 - Modeling With Data In The Tidyverse
Packages Used
chapter1
|
dplyr
|
chapter1
|
ggplot2
|
chapter1
|
moderndive
|
chapter2
|
dplyr
|
chapter2
|
ggplot2
|
chapter2
|
moderndive
|
chapter3
|
dplyr
|
chapter3
|
moderndive
|
chapter4
|
dplyr
|
Functions Used
chapter1
|
library()
|
15
|
chapter1
|
aes()
|
7
|
chapter1
|
ggplot()
|
7
|
chapter1
|
labs()
|
7
|
chapter1
|
geom_histogram()
|
4
|
chapter1
|
glimpse()
|
3
|
chapter1
|
summarize()
|
3
|
chapter1
|
geom_jitter()
|
2
|
chapter1
|
geom_point()
|
2
|
chapter1
|
mean()
|
2
|
chapter1
|
mutate()
|
2
|
chapter1
|
sd()
|
2
|
chapter1
|
select()
|
2
|
chapter1
|
cor()
|
1
|
chapter1
|
geom_boxplot()
|
1
|
chapter1
|
group_by()
|
1
|
chapter1
|
median()
|
1
|
chapter1
|
n()
|
1
|
chapter2
|
library()
|
12
|
chapter2
|
lm()
|
8
|
chapter2
|
aes()
|
5
|
chapter2
|
ggplot()
|
5
|
chapter2
|
labs()
|
5
|
chapter2
|
get_regression_points()
|
3
|
chapter2
|
get_regression_table()
|
3
|
chapter2
|
group_by()
|
3
|
chapter2
|
summarize()
|
3
|
chapter2
|
geom_histogram()
|
2
|
chapter2
|
geom_point()
|
2
|
chapter2
|
mean()
|
2
|
chapter2
|
facet_wrap()
|
1
|
chapter2
|
geom_boxplot()
|
1
|
chapter2
|
geom_smooth()
|
1
|
chapter2
|
n()
|
1
|
chapter2
|
sd()
|
1
|
chapter3
|
get_regression_points()
|
4
|
chapter3
|
get_regression_table()
|
4
|
chapter3
|
library()
|
4
|
chapter3
|
lm()
|
4
|
chapter3
|
mutate()
|
4
|
chapter3
|
c()
|
2
|
chapter3
|
summarize()
|
2
|
chapter3
|
data_frame()
|
1
|
chapter3
|
factor()
|
1
|
chapter3
|
glimpse()
|
1
|
chapter3
|
group_by()
|
1
|
chapter3
|
mean()
|
1
|
chapter3
|
n()
|
1
|
chapter3
|
sd()
|
1
|
chapter3
|
select()
|
1
|
chapter3
|
sum()
|
1
|
chapter4
|
Var()
|
17
|
chapter4
|
get_regression_points()
|
12
|
chapter4
|
lm()
|
12
|
chapter4
|
mutate()
|
10
|
chapter4
|
summarize()
|
10
|
chapter4
|
mean()
|
6
|
chapter4
|
sqrt()
|
4
|
chapter4
|
sum()
|
4
|
chapter4
|
var()
|
4
|
chapter4
|
c()
|
2
|
chapter4
|
get_regression_table()
|
2
|
chapter4
|
slice()
|
2
|
chapter4
|
data_frame()
|
1
|
chapter4
|
factor()
|
1
|
chapter4
|
library()
|
1
|
chapter4
|
mutate_impl()
|
1
|
chapter4
|
sample_frac()
|
1
|
Most frequently used functions so far
Function
|
Times Used
|
aes()
|
152
|
ggplot()
|
145
|
library()
|
113
|
mutate()
|
57
|
geom_point()
|
50
|
lm()
|
48
|
summarize()
|
45
|
c()
|
40
|
mean()
|
38
|
filter()
|
36
|
sum()
|
31
|
attr()
|
29
|
geom_histogram()
|
25
|
group_by()
|
25
|
labs()
|
22
|
table()
|
22
|
geom_smooth()
|
21
|
summary()
|
21
|
geom_density()
|
20
|
get_regression_points()
|
19
|
read_excel()
|
19
|
geom_bar()
|
18
|
Var()
|
17
|
geom_sf()
|
16
|
facet_wrap()
|
15
|
get_acs()
|
14
|
predict()
|
14
|
geom_boxplot()
|
13
|
plot()
|
13
|
head()
|
12
|
select()
|
12
|
str()
|
12
|
dta()
|
11
|
sqrt()
|
11
|
arrange()
|
10
|
coord_flip()
|
10
|
csv()
|
10
|
factor()
|
9
|
geom_col()
|
9
|
geom_jitter()
|
9
|
get_regression_table()
|
9
|
ggmap()
|
9
|
string()
|
9
|
tibble()
|
9
|
E()
|
8
|
desc()
|
8
|
glance()
|
8
|
glm()
|
8
|
n()
|
8
|
renameSheet()
|
8
|
residuals()
|
8
|
slice()
|
8
|
Pr()
|
7
|
autoplot()
|
7
|
loadWorkbook()
|
7
|
packages()
|
7
|
read_delim()
|
7
|
read_sas()
|
7
|
svydesign()
|
7
|
svyglm()
|
7
|
var()
|
7
|
augment()
|
6
|
createSheet()
|
6
|
excel_sheets()
|
6
|
fread()
|
6
|
get_map()
|
6
|
guides()
|
6
|
sd()
|
6
|
stat_bin()
|
6
|
SpatialPolygonsDataFrame()
|
5
|
as_factor()
|
5
|
counties()
|
5
|
delim()
|
5
|
dir()
|
5
|
glimpse()
|
5
|
median()
|
5
|
round()
|
5
|
saveWorkbook()
|
5
|
tracts()
|
5
|
ylab()
|
5
|
classIntervals()
|
4
|
coord_sf()
|
4
|
expand_limits()
|
4
|
fitted()
|
4
|
frame()
|
4
|
function()
|
4
|
geom_abline()
|
4
|
geom_line()
|
4
|
levels()
|
4
|
options()
|
4
|
readWorksheet()
|
4
|
read_dta()
|
4
|
read_stata()
|
4
|
removeSheet()
|
4
|
scale_x_discrete()
|
4
|
spTransform()
|
4
|
svyby()
|
4
|
svytable()
|
4
|
tm_borders()
|
4
|
tm_shape()
|
4
|
writeWorksheet()
|
4
|
xls()
|
4
|
I()
|
3
|
coefficients()
|
3
|
cor()
|
3
|
data()
|
3
|
facet_grid()
|
3
|
geom_errorbarh()
|
3
|
log()
|
3
|
na()
|
3
|
rbind_tigris()
|
3
|
seq()
|
3
|
svychisq()
|
3
|
theme_minimal()
|
3
|
tm_fill()
|
3
|
IQR()
|
2
|
case_when()
|
2
|
character()
|
2
|
class()
|
2
|
data_frame()
|
2
|
diff()
|
2
|
geom_errorbar()
|
2
|
geom_hline()
|
2
|
getSheets()
|
2
|
left_join()
|
2
|
list()
|
2
|
map()
|
2
|
merge()
|
2
|
moe_sum()
|
2
|
par()
|
2
|
path()
|
2
|
pull()
|
2
|
range()
|
2
|
raster()
|
2
|
readOGR()
|
2
|
read_sav()
|
2
|
reorder()
|
2
|
sample_frac()
|
2
|
scale_color_viridis_c()
|
2
|
scale_fill_manual()
|
2
|
scale_fill_viridis_c()
|
2
|
slot()
|
2
|
sort()
|
2
|
spss()
|
2
|
st_sample()
|
2
|
svymean()
|
2
|
svyquantile()
|
2
|
svytotal()
|
2
|
svyttest()
|
2
|
tidy()
|
2
|
SpatialPoints()
|
1
|
all()
|
1
|
area_water()
|
1
|
census_api_key()
|
1
|
conf_mat()
|
1
|
coord_fixed()
|
1
|
dim()
|
1
|
distance()
|
1
|
distinct()
|
1
|
geom_dotplot()
|
1
|
get_decennial()
|
1
|
hatvalues()
|
1
|
load_variables()
|
1
|
map_df()
|
1
|
mapview()
|
1
|
max()
|
1
|
moe_product()
|
1
|
moe_prop()
|
1
|
moe_ratio()
|
1
|
mutate_impl()
|
1
|
nrow()
|
1
|
pal()
|
1
|
primary_secondary_roads()
|
1
|
readGDAL()
|
1
|
read_csv()
|
1
|
read_por()
|
1
|
read_spss()
|
1
|
read_tsv()
|
1
|
reduce()
|
1
|
roads()
|
1
|
sapply()
|
1
|
scale_color_brewer()
|
1
|
scale_fill_brewer()
|
1
|
scale_size_continuous()
|
1
|
scale_x_continuous()
|
1
|
school_districts()
|
1
|
st_centroid()
|
1
|
st_geometry()
|
1
|
st_sf()
|
1
|
state_legislative_districts()
|
1
|
str_detect()
|
1
|
str_replace()
|
1
|
summarize_all()
|
1
|
svyratio()
|
1
|
tally()
|
1
|
theme_grey()
|
1
|
tigris_cache_dir()
|
1
|
tm_bubbles()
|
1
|
tm_compass()
|
1
|
tm_dots()
|
1
|
tm_lines()
|
1
|
tm_polygons()
|
1
|
tm_raster()
|
1
|
tm_text()
|
1
|
tmap_style()
|
1
|
vars()
|
1
|
viridis()
|
1
|
xlim()
|
1
|
ylim()
|
1
|