<-
c()
:
seq()
seq_along()
rep()
unique()
table()
sort()
rank()
paste()
cat()
order()
!
&
|
xor
NA
NaN
read_csv()
read_excel()
saveRDS()
readRDS()
plot()
ggplot()
geom_line()
geom_smooth()
hist()
geom_histogram()
boxplot()
geom_boxplot()
abline()
geom_hline()
geom_vline()
geom_abline()
heatmap()
geom_tile()
plotly()
group_by()
summarize()
intersect(x, y)
union(x, y)
union_all(x, y)
setdiff(x, y)
symdiff(x, y)
setequal(x, y)
separate()
unite()
if
else
switch()
ifelse()
else if
for
next
break
outer()
while
repeat
In theory, you can already write very complicated codes, accomplishing a lot of data analysis tasks. In this chapter, you will learn a very powerful tool, functions.