-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
163 lines (120 loc) · 7.46 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Intro to R by BRC</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Intro to R</h1>
<h2 class="project-tagline">Rockefeller University, BRC Course</h2>
<a href="https://github.com/RockefellerUniversity/Intro_To_R_1Day/zipball/master" class="btn">Download.zip</a>
<a href="https://github.com/RockefellerUniversity/Intro_To_R_1Day/tarball/master" class="btn">Download.tar.gz</a>
<a href="https://github.com/RockefellerUniversity/Intro_To_R_1Day/issues" class="btn">Getting help !</a>
</section>
<section class="main-content">
<h1>
<a id="Intro_To_R" class="anchor" href="#Intro_To_R" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Intro To R</h1>
<p><a href="https://gitter.im/RockefellerUniversity/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="Join the chat at https://gitter.im/RockefellerUniversity/Lobby"></a>
<a href="https://travis-ci.org/RockefellerUniversity/Intro_To_R_1Day"><img src="https://travis-ci.org/RockefellerUniversity/Intro_To_R_1Day.svg?branch=master" alt="https://travis-ci.org/RockefellerUniversity/Intro_To_R_1Day.svg?branch=master"></a>
</p>
<h2>
<a id="the-course" class="anchor" href="#the-course" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>The Course</h2>
<p>This course introduces R and statistical programming.</p>
<p>The course consists of 2 sections, 1 on basic R data types and data input/output and a second on conditionals and looping.<br>
Each section is presented as HTMl presentations or single page document. Exercises and answer sheets are included after all subsections to practice techniques and provide future reference examples. </p>
<p>Course material and exercises are available to view as rendered HTML at <a href="https://rockefelleruniversity.github.io/Intro_To_R_1Day/">https://rockefelleruniversity.github.io/Intro_To_R_1Day/</a>.<br>
All material is available to download under GPL v2 license.</p>
<h2>
<a id="setting-up" class="anchor" href="#setting-up" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Setting up.</h2>
<h4>
<a id="install-r" class="anchor" href="#install-r" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install R.</h4>
<p>R can be installed from the R-project website.<br>
R 4.0 or higher is required for this course.</p>
<p><a href="http://www.r-project.org/">http://www.r-project.org/</a></p>
<h4>
<a id="install-rstudio" class="anchor" href="#install-rstudio" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install RStudio.</h4>
<p>RStudio can be installed from the R-project website. </p>
<p><a href="http://www.rstudio.com/">http://www.rstudio.com/</a></p>
<h4>
<a id="install-required-packages" class="anchor" href="#install-required-packages" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install required packages.</h4>
<h5><em>Option 1 - For your own personal computers</em></h5>
<p>Having downloaded R and RStudio, some additional packages are required (rmarkdown and ggplot2).<br>
To install these,</p>
<ul>
<li>First launch RStudio</li>
<li>Install the packages in the R console using devtools
<pre>
install.packages("devtools",dependencies=TRUE)
devtools::install_github("rockefelleruniversity/Intro_To_R_1Day",subdir="introToR",build_vignettes=TRUE)
</pre>
</li>
</ul>
<h5><em>Option 2 - For anywhere</em></h5>
<p>Having downloaded R and RStudio, some additional packages are required (rmarkdown and ggplot2).<br>
To install these,</p>
<ul>
<li>First launch RStudio</li>
<li>Install the packages in the R console using install.packages
<pre>
install.packages("ggplot2",dependencies=TRUE)
install.packages("rmarkdown",dependencies=TRUE)
install.packages("yaml",dependencies=TRUE)
</pre>
</li>
</ul>
<h4>
<a id="download-the-material" class="anchor" href="#download-the-material" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Download the material</h4>
<p>The material can either be downloaded as a <a href="https://github.com/rockefelleruniversity/Intro_To_R_1Day/archive/master.zip">zip</a></p>
<pre>
wget https://github.com/rockefelleruniversity/Intro_To_R_1Day/archive/master.zip ./
</pre>
<h2>
<a id="the-r-sessions" class="anchor" href="#the-r-sessions" aria-hidden="true"><span class="octicon octicon-link"></span></a>The R Sessions</h2>
<h4>
<a id="Session1" class="anchor" href="#session1" aria-hidden="true"><span class="octicon octicon-link"></span></a>Introduction to R, Session 1</h4>
<p>This section focuses on R basics such as simple data types, data IO, plotting and statistics.<br>
Session sections:
<ul>
<li>Introduction to R</li>
<li>Data Types</li>
<li>Reading and Writing Data</li>
</ul>
</p>
Link to HTML presentation - <a href="./r_course/presentations/slides/introToR_Session1.html">Session 1</a><br>
Link to single page, printable HTML - <a href="./r_course/presentations/singlepage/introToR_Session1.html">Session 1</a><br>
Link to R code included in presentation - <a href="./r_course/presentations/r_code/introToR_Session1.R">Session 1</a><br>
<iframe src="./r_course/presentations/slides/introToR_Session1.html" width="100%" height="400"></iframe>
</span>
<h4>
<a id="Session2" class="anchor" href="#session2" aria-hidden="true"><span class="octicon octicon-link"></span></a>Introduction to R, Session 2</h4>
<p>In session 2, programmatic techniques such as looping and conditional expressions are introduced<br>
The session includes longer exercises and shorter slide decks and so more time should be allocated to exercises in this session.<br>
Session sections:
<ul>
<li>Looping Conditional Branching</li>
<li>Loading libraries</li>
<li>Writing Scripts</li>
<li>Getting help</li>
</ul>
</p>
Link to HTML presentation - <a href="./r_course/presentations/slides/introToR_Session2.html">Session 2</a><br>
Link to single page, printable HTML - <a href="./r_course/presentations/singlepage/introToR_Session2.html">Session 2</a><br>
Link to R code included in presentation - <a href="./r_course/presentations/r_code/introToR_Session2.R">Session 2</a><br>
<iframe src="./r_course/presentations/slides/introToR_Session2.html" width="100%" height="400"></iframe>
</span>
<p>
</p>
</span>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/rockefelleruniversity/Intro_To_R_1Day">Intro To R</a> is maintained by <a href="https://github.com/rockefelleruniversity">rockefelleruniversity</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>