Index

abline function, 99, 105, 119, 120
acos function, 162
aggregate function, 67–69
anova function, 98, 104, 105, 107
aov function, 90
arrange function, 35–37, 75
as.character function, 29
as.factor function, 18
as.numeric function, 117
asin function, 160, 162
atan function, 162
attach function, 44, 66, 68, 90, 95

barplot function, 59, 125
Bonn Ferroni adjustment, 92
box function, 154
boxplot function, 48, 143
BrailleR package, 134, 135, 140, 143, 148

c function, 12, 13, 114
cat function, 81
character expansion, 115
class function, 15, 64, 139
cluster bar chart, 123
col function, 166
colMeans function, 65
Comprehensive R Archive Network, 86
contour function, 126, 127
cor function, 92
cor.test function, 92
cos function, 160, 162
cosh function, 160, 162
count function, 73, 74
CRAN mirror, 131
curve function, 120, 122, 161

D function, 163
data function, 28
data.frame class, 15, 18–21, 24, 32–34, 36, 38, 39, 41, 56, 64–66, 68, 73, 95, 96, 144
data.frame function, 16, 56
datasets package, 27, 28, 87, 90, 95, 118
date function, 17
deriv function, 163
det function, 171
detach function, 44, 68, 91
dev.off function, 78
diag function, 165
dnorm function, 122, 162
Dodge package, 131
dotplot function, 143
dplyr package, 31, 35–37, 39, 40, 73–75

exp function, 162
expand.grid function, 21
expression function, 163

factor class, 18, 29, 56
filled.contour function, 125
filter function, 35–37
fitted function, 101
fivenum function, 67
for function, 112
foreign package, 27, 42
formula class, 68, 96
function class, 161, 162
function function, 161

gamma function, 162
getwd function, 24, 25
ggmap package, 153, 156
ggplot2 package, 43
ginv function, 169
glimpse function, 35, 36
group_by function, 73, 74

hatvalues function, 101
head function, 28, 35
Hilbert matrix, 166
hist function, 44, 46, 47, 112, 136, 143
histogram class, 139

identity matrix, 165
install.packages function, 130, 131
is.na function, 106

jitter function, 50

ks.test function, 94

layout function, 114, 115
length function, 74, 87
levels function, 29
library function, 28, 134
lines function, 119
lm class, 101
lm function, 96, 107
log function, 12, 162
lpSolve package, 173

magrittr package, 37
map function, 154
map.cities function, 154
mapdata package, 153
maps package, 153
MASS package, 28, 169
matrix class, 15, 18, 32
matrix function, 114
max function, 65, 66
mean function, 65, 68, 70, 74, 87
median function, 65, 66
method, 139, 140
min function, 65, 66
mutate function, 35, 37

names function, 19
nrow function, 34

openxlsx package, 30
order function, 32, 37

pairs function, 56
par function, 47, 111, 112, 115, 117
paste function, 112
pie function, 59
pipe operator, 36, 37, 75
pivot tables, 67
plot function, 50, 51, 53, 56, 101, 115, 118, 120, 137, 139
plot.function function, 161
plot.histogram function, 139
pnorm function, 162
points function, 106
poly function, 103
polygon function, 154
print function, 80, 81
pt function, 88

qqline function, 53
qqnorm function, 53, 101
qt function, 87, 88

Rcmdr package, 132
read.csv function, 23, 24, 27, 29
read.delim function, 23
read.table function, 23, 27, 29
read.xlsx function, 30
relative path, 26
rep function, 16, 17
require function, 173
resid function, 101
rev function, 71
rnorm function, 21, 112
round function, 73
row function, 166

sample function, 33
sample_frac function, 35, 39
sample_n function, 35, 39
savehistory function, 81, 135
savePlot function, 78, 79
sd function, 87
set.seed function, 173
setwd function, 83
sin function, 160, 162
sinh function, 160, 162
sink function, 8, 80, 135
solve function, 169, 170
sort function, 31, 71
source function, 10, 83, 84
sqrt function, 12, 162
stack bar chart, 125
str function, 15, 21, 28, 35, 139
stripchart function, 143
summarise function, 73–75
summary function, 59, 64–67, 69, 98, 99, 144, 145
Sys.Date function, 17

t function, 166
t.test function, 89, 90
tan function, 160, 162
tanh function, 160
tapply function, 67–71, 74, 125
tbl_df class, 36, 73
tbl_df function, 35
trace function, 171
transmute function, 35, 37
transpose of a matrix, 166
txtOut function, 136
txtStart function, 136

UniDesc function, 143

vcd package, 94
vector class, 15
VI function, 140, 143–145, 152
VI.histogram function, 140

WhereXY function, 146
win.graph function, 47
windows function, 47, 48
write.csv function, 41
write.table function, 41

X11 function, 47
x11 function, 47, 78, 79