-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
645 lines (295 loc) · 15.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="last-modified" content="2016-07-19 12:35:25 +0200">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="search-domain" value="/swc-releases/2016.06/r-novice-gapminder">
<link rel="stylesheet" type="text/css" href="/swc-releases/2016.06/r-novice-gapminder/assets/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/swc-releases/2016.06/r-novice-gapminder/assets/css/bootstrap-theme.css" />
<link rel="stylesheet" type="text/css" href="/swc-releases/2016.06/r-novice-gapminder/assets/css/lesson.css" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon-swc.ico" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<title>R for Reproducible Scientific Analysis</title>
</head>
<body>
<div class="container">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://software-carpentry.org" class="pull-left">
<img class="navbar-logo" src="/swc-releases/2016.06/r-novice-gapminder/assets/img/swc-icon-blue.svg" alt="Software Carpentry logo" />
</a>
<a class="navbar-brand" href="/swc-releases/2016.06/r-novice-gapminder/">Home</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/swc-releases/2016.06/r-novice-gapminder/conduct/">Code of Conduct</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/setup/">Setup</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/reference/">Reference</a></li>
<li class="dropdown">
<a href="/swc-releases/2016.06/r-novice-gapminder/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Episodes <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/swc-releases/2016.06/r-novice-gapminder/01-rstudio-intro/">Introduction to R and RStudio</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/02-project-intro/">Project Management With RStudio</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/03-seeking-help/">Seeking Help</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/04-data-structures-part1/">Data Structures</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/05-data-structures-part2/">Exploring Data Frames</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/06-data-subsetting/">Subsetting Data</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/07-control-flow/">Control Flow</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/08-plot-ggplot2/">Creating Publication-Quality Graphics</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/09-vectorization/">Vectorization</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/10-functions/">Functions Explained</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/11-writing-data/">Writing Data</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/12-plyr/">Split-Apply-Combine</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/13-dplyr/">Dataframe Manipulation with dplyr</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/14-tidyr/">Dataframe Manipulation with tidyr</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/15-knitr-markdown/">Producing Reports With knitr</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/16-wrap-up/">Writing Good Software</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/swc-releases/2016.06/r-novice-gapminder/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Extras <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/swc-releases/2016.06/r-novice-gapminder/about/">About</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/discuss/">Discussion</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/figures/">Figures</a></li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/guide/">Instructor's Guide</a></li>
</ul>
</li>
<li><a href="/swc-releases/2016.06/r-novice-gapminder/license/">License</a></li>
</ul>
<form class="navbar-form navbar-right" role="search" id="search" onsubmit="google_search(); return false;">
<div class="form-group">
<input type="text" id="google-search" placeholder="Search...">
</div>
</form>
</div>
</div>
</nav>
<h1 class="maintitle"><a href="/swc-releases/2016.06/r-novice-gapminder/">R for Reproducible Scientific Analysis</a></h1>
<p>Introduction to R for non-programmers using gapminder data.</p>
<p>The goal of this lesson is to teach novice programmers to write modular code
and best practices for using R for data analysis. R is commonly used in many
scientific disciplines for statistical analysis and its array of third-party
packages. We find that many scientists who come to Software Carpentry workshops
use R and want to learn more. The emphasis of these materials is to give
attendees a strong foundation in the fundamentals of R, and to teach best
practices for scientific computing: breaking down analyses into modular units,
task automation, and encapsulation.</p>
<p>Note that this workshop will focus on teaching the fundamentals of the
programming language R, and will not teach statistical analysis.</p>
<p>A variety of third party packages are used throughout this workshop. These
are not necessarily the best, nor are they comprehensive, but they are
packages we find useful, and have been chosen primarily for their
usability.</p>
<blockquote class="prereq">
<h2 id="prerequisites">Prerequisites</h2>
<p>Understand that computers store data and instructions (programs, scripts etc.) in files.
Files are organised in directories (folders).
Know how to access files not in the working directory by specifying the path.</p>
</blockquote>
<div class="syllabus">
<h2>Schedule</h2>
<table class="table table-striped">
<tr>
<td class="col-md-1">00:00</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/01-rstudio-intro/">Introduction to R and RStudio</a>
</td>
<td class="col-md-7">
How to find your way around RStudio?
<br/>
How to interact with R?
<br/>
How to manage your environment?
<br/>
How to install packages?
</td>
</tr>
<tr>
<td class="col-md-1">00:55</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/02-project-intro/">Project Management With RStudio</a>
</td>
<td class="col-md-7">
How can I manage my projects in R?
</td>
</tr>
<tr>
<td class="col-md-1">01:25</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/03-seeking-help/">Seeking Help</a>
</td>
<td class="col-md-7">
How can I get help in R?
</td>
</tr>
<tr>
<td class="col-md-1">01:45</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/04-data-structures-part1/">Data Structures</a>
</td>
<td class="col-md-7">
How can I read data in R?
<br/>
What are the basic data types in R?
<br/>
How do I represent categorical information in R?
</td>
</tr>
<tr>
<td class="col-md-1">02:40</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/05-data-structures-part2/">Exploring Data Frames</a>
</td>
<td class="col-md-7">
How can I manipulate a dataframe?
</td>
</tr>
<tr>
<td class="col-md-1">03:10</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/06-data-subsetting/">Subsetting Data</a>
</td>
<td class="col-md-7">
How can I work with subsets of data in R?
</td>
</tr>
<tr>
<td class="col-md-1">04:00</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/07-control-flow/">Control Flow</a>
</td>
<td class="col-md-7">
How can I make data-dependent choices in R?
<br/>
How can I repeat operations in R?
</td>
</tr>
<tr>
<td class="col-md-1">05:05</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/08-plot-ggplot2/">Creating Publication-Quality Graphics</a>
</td>
<td class="col-md-7">
How can I create publication-quality graphics in R?
</td>
</tr>
<tr>
<td class="col-md-1">06:25</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/09-vectorization/">Vectorization</a>
</td>
<td class="col-md-7">
How can I operate on all the elements of a vector at once?
</td>
</tr>
<tr>
<td class="col-md-1">06:50</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/10-functions/">Functions Explained</a>
</td>
<td class="col-md-7">
How can I write a new function in R?
</td>
</tr>
<tr>
<td class="col-md-1">07:50</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/11-writing-data/">Writing Data</a>
</td>
<td class="col-md-7">
How can I save plots and data created in R?
</td>
</tr>
<tr>
<td class="col-md-1">08:10</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/12-plyr/">Split-Apply-Combine</a>
</td>
<td class="col-md-7">
How can I do different calculations on different sets of data?
</td>
</tr>
<tr>
<td class="col-md-1">09:10</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/13-dplyr/">Dataframe Manipulation with dplyr</a>
</td>
<td class="col-md-7">
How can I manipulate dataframes without repeating myself?
</td>
</tr>
<tr>
<td class="col-md-1">10:05</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/14-tidyr/">Dataframe Manipulation with tidyr</a>
</td>
<td class="col-md-7">
How can I change the format of dataframes?
</td>
</tr>
<tr>
<td class="col-md-1">10:50</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/15-knitr-markdown/">Producing Reports With knitr</a>
</td>
<td class="col-md-7">
How can I integrate software and reports?
</td>
</tr>
<tr>
<td class="col-md-1">12:05</td>
<td class="col-md-3">
<a href="/swc-releases/2016.06/r-novice-gapminder/16-wrap-up/">Writing Good Software</a>
</td>
<td class="col-md-7">
How can I write software that other people can use?
</td>
</tr>
<tr>
<td class="col-md-1">12:20</td>
<td class="col-md-3">Finish</td>
<td class="col-md-7"></td>
</tr>
</table>
</div>
<hr/>
<footer>
<div class="row">
<div class="col-md-6" align="left">
<h4>
Copyright © 2016
<a href="https://software-carpentry.org">Software Carpentry Foundation</a>
</h4>
</div>
<div class="col-md-6" align="right">
<h4>
<a href="/">Source</a>
/
<a href="/blob/gh-pages/CONTRIBUTING.md">Contributing</a>
/
<a href="mailto:[email protected]">Contact</a>
</h4>
</div>
</div>
</footer>
</div>
<script src="/swc-releases/2016.06/r-novice-gapminder/assets/js/jquery.min.js"></script>
<script src="/swc-releases/2016.06/r-novice-gapminder/assets/js/bootstrap.min.js"></script>
<script src="/swc-releases/2016.06/r-novice-gapminder/assets/js/lesson.js"></script>
</body>
</html>