Introduction |
|
1 | (4) |
|
|
2 | (1) |
|
Part 1: The Tools of the Trade |
|
|
2 | (1) |
|
Part 2: Interacting with a User |
|
|
2 | (1) |
|
|
2 | (1) |
|
Part 4: Large(ish) Data Sets |
|
|
2 | (1) |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
4 | (1) |
Part 1: The Tools Of The Trade |
|
5 | (72) |
|
Chapter 1 R: What It Does and How It Does It |
|
|
7 | (24) |
|
|
7 | (1) |
|
|
8 | (3) |
|
|
11 | (4) |
|
|
11 | (1) |
|
|
12 | (3) |
|
|
15 | (1) |
|
|
16 | (2) |
|
|
18 | (1) |
|
|
18 | (10) |
|
|
18 | (1) |
|
|
19 | (2) |
|
|
21 | (3) |
|
|
24 | (1) |
|
|
25 | (3) |
|
Of for Loops and if Statements |
|
|
28 | (3) |
|
Chapter 2 Working with Packages |
|
|
31 | (12) |
|
|
31 | (2) |
|
|
33 | (2) |
|
|
33 | (1) |
|
|
33 | (1) |
|
|
34 | (1) |
|
|
35 | (1) |
|
|
36 | (1) |
|
|
37 | (6) |
|
Chapter 3 Getting Graphic |
|
|
43 | (34) |
|
|
43 | (14) |
|
|
44 | (1) |
|
|
45 | (2) |
|
|
47 | (2) |
|
|
49 | (2) |
|
|
51 | (2) |
|
|
53 | (1) |
|
|
53 | (2) |
|
|
55 | (1) |
|
|
56 | (1) |
|
|
57 | (22) |
|
|
58 | (1) |
|
|
59 | (2) |
|
|
61 | (1) |
|
|
62 | (2) |
|
|
64 | (3) |
|
|
67 | (1) |
|
|
68 | (4) |
|
|
72 | (1) |
|
|
73 | (4) |
Part 2: Interacting With A User |
|
77 | (66) |
|
Chapter 4 Working with a Browser |
|
|
79 | (28) |
|
|
79 | (1) |
|
Creating Your First shiny Project |
|
|
80 | (9) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
85 | (1) |
|
|
86 | (3) |
|
|
89 | (7) |
|
|
90 | (2) |
|
|
92 | (2) |
|
Getting reactive with ggplot |
|
|
94 | (2) |
|
|
96 | (10) |
|
|
97 | (7) |
|
|
104 | (2) |
|
|
106 | (1) |
|
Chapter 5 Dashboards-How Dashing! |
|
|
107 | (36) |
|
The shinydashboard Package |
|
|
107 | (1) |
|
Exploring Dashboard Layouts |
|
|
108 | (18) |
|
Getting started with the user interface |
|
|
109 | (1) |
|
Building the user interface: Boxes, boxes, boxes |
|
|
110 | (7) |
|
|
117 | (4) |
|
A nice trick: Keeping tabs |
|
|
121 | (4) |
|
Suggested project: Add statistics |
|
|
125 | (1) |
|
Suggested project: Place valueBoxes in tabPanels |
|
|
126 | (1) |
|
|
126 | (9) |
|
|
128 | (3) |
|
|
131 | (2) |
|
Suggested project: Relocate the slider |
|
|
133 | (2) |
|
Interacting with Graphics |
|
|
135 | (10) |
|
Clicks, double-clicks, and brushes-oh, my! |
|
|
135 | (3) |
|
Why bother with all this? |
|
|
138 | (3) |
|
Suggested project: Experiment with airquality |
|
|
141 | (2) |
Part 3: Machine Learning |
|
143 | (110) |
|
Chapter 6 Tools and Data for Machine Learning Projects |
|
|
145 | (22) |
|
The UCI (University of California-Irvine) ML Repository |
|
|
146 | (11) |
|
Downloading a UCI dataset |
|
|
146 | (2) |
|
|
148 | (2) |
|
|
150 | (2) |
|
Exploring relationships in the data |
|
|
152 | (5) |
|
Introducing the Rattle package |
|
|
157 | (2) |
|
|
159 | (8) |
|
Getting and (further) exploring the data |
|
|
159 | (3) |
|
Finding clusters in the data |
|
|
162 | (5) |
|
Chapter 7 Decisions, Decisions, Decisions |
|
|
167 | (18) |
|
|
167 | (2) |
|
|
168 | (1) |
|
|
168 | (1) |
|
|
169 | (4) |
|
|
169 | (2) |
|
|
171 | (2) |
|
|
173 | (4) |
|
|
174 | (1) |
|
|
175 | (1) |
|
|
176 | (1) |
|
Project: A More Complex Decision Tree |
|
|
177 | (5) |
|
|
177 | (2) |
|
|
179 | (1) |
|
Building and drawing the tree |
|
|
180 | (1) |
|
|
181 | (1) |
|
Quick suggested project: Understanding the complexity parameter |
|
|
181 | (1) |
|
Suggested Project: Titanic |
|
|
182 | (3) |
|
Chapter 8 Into the Forest, Randomly |
|
|
185 | (16) |
|
|
185 | (2) |
|
|
187 | (7) |
|
|
187 | (2) |
|
|
189 | (1) |
|
|
190 | (1) |
|
|
191 | (2) |
|
|
193 | (1) |
|
Project: Identifying Glass |
|
|
194 | (6) |
|
|
194 | (1) |
|
Getting the data into Rattle |
|
|
195 | (1) |
|
|
196 | (2) |
|
Growing the random forest |
|
|
198 | (1) |
|
|
198 | (2) |
|
Suggested Project: Identifying Mushrooms |
|
|
200 | (1) |
|
Chapter 9 Support Your Local Vector |
|
|
201 | (20) |
|
|
201 | (4) |
|
|
202 | (1) |
|
|
202 | (1) |
|
Understanding support vectors |
|
|
203 | (2) |
|
Separability: It's Usually Nonlinear |
|
|
205 | (2) |
|
Support Vector Machines in R |
|
|
207 | (7) |
|
|
207 | (5) |
|
|
212 | (2) |
|
|
214 | (6) |
|
|
216 | (1) |
|
|
217 | (1) |
|
|
218 | (2) |
|
|
220 | (1) |
|
Suggested Project: Titanic Again |
|
|
220 | (1) |
|
Chapter 10 K-Means Clustering |
|
|
221 | (16) |
|
|
221 | (2) |
|
|
223 | (8) |
|
Setting up and analyzing the data |
|
|
223 | (1) |
|
|
224 | (1) |
|
|
225 | (1) |
|
Finding the optimum number of clusters |
|
|
226 | (3) |
|
Quick suggested project: Adding the sepals |
|
|
229 | (2) |
|
|
231 | (4) |
|
|
231 | (1) |
|
Starting Rattle and exploring the data |
|
|
232 | (1) |
|
|
233 | (1) |
|
|
234 | (1) |
|
|
234 | (1) |
|
Suggested Project: A Few Quick Ones |
|
|
235 | (2) |
|
Visualizing data points and clusters |
|
|
235 | (1) |
|
The optimum number of clusters |
|
|
236 | (1) |
|
|
236 | (1) |
|
Chapter 11 Neural Networks |
|
|
237 | (16) |
|
Networks in the Nervous System |
|
|
237 | (1) |
|
Artificial Neural Networks |
|
|
238 | (3) |
|
|
238 | (1) |
|
Input layer and hidden layer |
|
|
239 | (1) |
|
|
240 | (1) |
|
|
240 | (1) |
|
|
241 | (4) |
|
Building a neural network for the iris data frame |
|
|
241 | (2) |
|
|
243 | (1) |
|
|
244 | (1) |
|
Quick suggested project: Those sepals |
|
|
245 | (1) |
|
|
245 | (6) |
|
|
245 | (1) |
|
Taking a quick look ahead |
|
|
246 | (1) |
|
|
247 | (2) |
|
|
249 | (1) |
|
Going beyond Rattle: Visualizing the network |
|
|
249 | (2) |
|
Suggested Projects: Rattling Around |
|
|
251 | (2) |
Part 4: Large(ish) Data Sets |
|
253 | (38) |
|
Chapter 12 Exploring Marketing |
|
|
255 | (20) |
|
Project: Analyzing Retail Data |
|
|
255 | (10) |
|
|
256 | (1) |
|
|
257 | (8) |
|
|
265 | (7) |
|
|
265 | (2) |
|
|
267 | (1) |
|
Digging into the clusters |
|
|
268 | (2) |
|
The clusters and the classes |
|
|
270 | (1) |
|
|
271 | (1) |
|
Suggested Project: Another Data Set |
|
|
272 | (3) |
|
Chapter 13 From the City That Never Sleeps |
|
|
275 | (16) |
|
|
275 | (1) |
|
|
276 | (7) |
|
|
276 | (1) |
|
Piping, filtering, and grouping |
|
|
277 | (2) |
|
|
279 | (1) |
|
|
280 | (3) |
|
Quick Suggested Project: Airline names |
|
|
283 | (1) |
|
Project: Departure Delays |
|
|
283 | (6) |
|
Adding a variable: weekday |
|
|
283 | (1) |
|
Quick Suggested Project: Analyze weekday differences |
|
|
284 | (1) |
|
Delay, weekday, and airport |
|
|
285 | (2) |
|
Delay and flight duration |
|
|
287 | (2) |
|
Suggested Project: Delay and Weather |
|
|
289 | (2) |
Part 5: Maps And Images |
|
291 | (28) |
|
Chapter 14 All Over the Map |
|
|
293 | (12) |
|
Project: The Airports of Wisconsin |
|
|
293 | (6) |
|
Dispensing with the preliminaries |
|
|
293 | (1) |
|
Getting the state geographic data |
|
|
294 | (1) |
|
Getting the airport geographic data |
|
|
295 | (3) |
|
Plotting the airports on the state map |
|
|
298 | (1) |
|
Quick Suggested Project: Another source of airport geographic info |
|
|
299 | (1) |
|
Suggested Project 1: Map Your State |
|
|
299 | (1) |
|
Suggested Project 2: Map the Country |
|
|
299 | (6) |
|
Plotting the state capitals |
|
|
301 | (1) |
|
|
302 | (3) |
|
Chapter 15 Fun with Pictures |
|
|
305 | (14) |
|
Polishing a Picture: It's magick! |
|
|
305 | (8) |
|
|
306 | (1) |
|
Rotating, flipping, and flopping |
|
|
307 | (1) |
|
|
308 | (1) |
|
Combining transformations |
|
|
309 | (1) |
|
Quick suggested project: Three F's |
|
|
309 | (1) |
|
|
310 | (1) |
|
|
311 | (1) |
|
|
312 | (1) |
|
Project: Two Legends in Search of a Legend |
|
|
313 | (3) |
|
|
313 | (1) |
|
Combining the boys with the background |
|
|
314 | (1) |
|
|
314 | (2) |
|
Getting back to the animation |
|
|
316 | (1) |
|
Suggested Project: Combine an Animation with a Plot |
|
|
316 | (3) |
Part 6: The Part Of Tens |
|
319 | (12) |
|
Chapter 16 More Than Ten Packages for Your R Projects |
|
|
321 | (6) |
|
|
321 | (1) |
|
|
322 | (1) |
|
|
322 | (2) |
|
|
324 | (1) |
|
|
324 | (3) |
|
Chapter 17 More than Ten Useful Resources |
|
|
327 | (4) |
|
|
327 | (1) |
|
|
328 | (1) |
|
|
328 | (1) |
|
|
329 | (2) |
Index |
|
331 | |