Introduction to R and RStudio
-Last updated on 2023-11-08 | +
Last updated on 2023-11-16 | Edit this page
@@ -1082,7 +1082,7 @@OUTPUT< } else all.names } -<bytecode: 0x55c3a944aa70> +<bytecode: 0x55bec8f02a70> <environment: namespace:base>
What’s going on here?
@@ -1447,7 +1447,7 @@Keypoints
Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -602,7 +602,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -564,8 +564,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -828,7 +828,7 @@
Keypoints
Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2364,7 +2364,7 @@ Keypoints
Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -683,7 +683,7 @@
Solution to Challenge 1
-
+
R
@@ -968,7 +968,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -1029,7 +1029,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1082,7 +1082,7 @@
Solution to Challenge 4
-
+
Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1959,7 +1959,7 @@ Keypoints
Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -521,7 +521,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -867,7 +867,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -953,7 +953,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -1034,7 +1034,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1085,7 +1085,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -1215,7 +1215,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1073,7 +1073,7 @@ Keypoints
Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -468,7 +468,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -520,7 +520,7 @@
Solution to challenge 2
-
+
Refresh your plotting skills by plotting population in millions
against year.
@@ -699,7 +699,7 @@
Solution to challenge 3
-
+
Given the following matrix:
@@ -778,7 +778,7 @@
Challenge 4
-
+
We’re interested in looking at the sum of the following sequence of
fractions:
@@ -988,7 +988,7 @@ Keypoints
Functions Explained
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1189,7 +1189,7 @@ Keypoints
Writing Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -655,7 +655,7 @@ Keypoints
Splitting and Combining Data Frames with plyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -979,7 +979,7 @@ Keypoints
Data Frame Manipulation with dplyr
- Last updated on 2023-11-15 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1207,7 +1207,7 @@ Keypoints
Data Frame Manipulation with tidyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -466,7 +466,7 @@
Solution to Challenge 1
-
+
The original gapminder data.frame is in an intermediate format. It is
not purely long since it had multiple observation variables
@@ -660,7 +660,7 @@
Solution to Challenge 2
-
+
R
@@ -958,7 +958,7 @@
Solution to Challenge 3
-
+
Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -542,7 +542,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -621,7 +621,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -709,7 +709,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -759,7 +759,7 @@
Solution to Challenge 4
-
+
Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -555,7 +555,7 @@ Keypoints
Contributor Code of Conduct
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -418,7 +418,7 @@ Contributor Code of Conduct
"url": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/LICENSE.html b/LICENSE.html
index 6e7c3c876..202d63078 100644
--- a/LICENSE.html
+++ b/LICENSE.html
@@ -338,7 +338,7 @@
Licenses
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@ Licenses
"url": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/aio.html b/aio.html
index 24b6dedaf..8faf3e3f9 100644
--- a/aio.html
+++ b/aio.html
@@ -421,7 +421,7 @@
Content from Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1169,7 +1169,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1482,7 +1482,7 @@ KeypointsContent from Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1752,7 +1752,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
@@ -1890,7 +1890,7 @@ KeypointsContent from Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2105,8 +2105,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -2317,7 +2317,7 @@
KeypointsContent from Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4307,7 +4307,7 @@ KeypointsContent from Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4641,7 +4641,7 @@
Solution to Challenge 1
-
+
R
@@ -4933,7 +4933,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -4995,7 +4995,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -5048,7 +5048,7 @@
Solution to Challenge 4
-
+
The object gapminder
is a data frame with columns
@@ -5090,7 +5090,7 @@ KeypointsContent from Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6680,7 +6680,7 @@ KeypointsContent from Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6850,7 +6850,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -7197,7 +7197,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -7283,7 +7283,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -7366,7 +7366,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -7417,7 +7417,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -7492,7 +7492,7 @@ KeypointsContent from Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8170,7 +8170,7 @@ KeypointsContent from Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8294,7 +8294,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -8346,7 +8346,7 @@
Solution to challenge 2
-
+
Refresh your plotting skills by plotting population in millions
against year.
@@ -8528,7 +8528,7 @@
Solution to challenge 3
-
+
Given the following matrix:
@@ -8613,7 +8613,7 @@
Challenge 4
-
+
We’re interested in looking at the sum of the following sequence of
fractions:
@@ -8764,7 +8764,7 @@ KeypointsContent from Functions Explained
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9555,7 +9555,7 @@ KeypointsContent from Writing Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9805,7 +9805,7 @@ KeypointsContent from Splitting and Combining Data Frames with plyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -10389,7 +10389,7 @@ KeypointsContent from Data Frame Manipulation with dplyr
- Last updated on 2023-11-15 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11195,7 +11195,7 @@ KeypointsContent from Data Frame Manipulation with tidyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11310,7 +11310,7 @@
Solution to Challenge 1
-
+
The original gapminder data.frame is in an intermediate format. It is
not purely long since it had multiple observation variables
@@ -11505,7 +11505,7 @@
Solution to Challenge 2
-
+
R
@@ -11804,7 +11804,7 @@
Solution to Challenge 3
-
+
R
@@ -11922,7 +11922,7 @@ KeypointsContent from Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -12111,7 +12111,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -12194,7 +12194,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -12286,7 +12286,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -12337,7 +12337,7 @@
Solution to Challenge 4
-
+
Here’s some inline code to determine that 2 + 2 = 4
.
@@ -12434,7 +12434,7 @@ KeypointsContent from Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
diff --git a/discuss.html b/discuss.html
index eb10a93d8..4fca4a2a0 100644
--- a/discuss.html
+++ b/discuss.html
@@ -338,7 +338,7 @@
Discussion
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -412,7 +412,7 @@ Discussion
"url": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/instructor/01-rstudio-intro.html b/instructor/01-rstudio-intro.html
index b28942aad..7772c5738 100644
--- a/instructor/01-rstudio-intro.html
+++ b/instructor/01-rstudio-intro.html
@@ -359,7 +359,7 @@
Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1083,7 +1083,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1448,7 +1448,7 @@ Keypoints
Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -603,7 +603,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -565,8 +565,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -829,7 +829,7 @@
Keypoints
Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2365,7 +2365,7 @@ Keypoints
Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -684,7 +684,7 @@
Solution to Challenge 1
-
+
R
@@ -969,7 +969,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -1030,7 +1030,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1083,7 +1083,7 @@
Solution to Challenge 4
-
+
Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1960,7 +1960,7 @@ Keypoints
Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -522,7 +522,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -868,7 +868,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -954,7 +954,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -1035,7 +1035,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1086,7 +1086,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -1216,7 +1216,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1074,7 +1074,7 @@ Keypoints
Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -521,7 +521,7 @@
Solution to challenge 2
-
+
Project Management With RStudio
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -602,7 +602,7 @@SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -564,8 +564,8 @@OUTPUT< [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): -[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7 -[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21 +[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41 +[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you have loaded. This can be useful for others to help reproduce and debug @@ -828,7 +828,7 @@
Keypoints
Data Structures
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -2364,7 +2364,7 @@Keypoints
Exploring Data Frames
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -683,7 +683,7 @@Solution to Challenge 1
-R
@@ -968,7 +968,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -1029,7 +1029,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1082,7 +1082,7 @@
Solution to Challenge 4
-
+
Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1959,7 +1959,7 @@ Keypoints
Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -521,7 +521,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -867,7 +867,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -953,7 +953,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -1034,7 +1034,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1085,7 +1085,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -1215,7 +1215,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1073,7 +1073,7 @@ Keypoints
Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -468,7 +468,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -520,7 +520,7 @@
Solution to challenge 2
-
+
Refresh your plotting skills by plotting population in millions
against year.
@@ -699,7 +699,7 @@
Solution to challenge 3
-
+
Given the following matrix:
@@ -778,7 +778,7 @@
Challenge 4
-
+
We’re interested in looking at the sum of the following sequence of
fractions:
@@ -988,7 +988,7 @@ Keypoints
Functions Explained
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1189,7 +1189,7 @@ Keypoints
Writing Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -655,7 +655,7 @@ Keypoints
Splitting and Combining Data Frames with plyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -979,7 +979,7 @@ Keypoints
Data Frame Manipulation with dplyr
- Last updated on 2023-11-15 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1207,7 +1207,7 @@ Keypoints
Data Frame Manipulation with tidyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -466,7 +466,7 @@
Solution to Challenge 1
-
+
The original gapminder data.frame is in an intermediate format. It is
not purely long since it had multiple observation variables
@@ -660,7 +660,7 @@
Solution to Challenge 2
-
+
R
@@ -958,7 +958,7 @@
Solution to Challenge 3
-
+
Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -542,7 +542,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -621,7 +621,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -709,7 +709,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -759,7 +759,7 @@
Solution to Challenge 4
-
+
Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -555,7 +555,7 @@ Keypoints
Contributor Code of Conduct
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -418,7 +418,7 @@ Contributor Code of Conduct
"url": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/LICENSE.html b/LICENSE.html
index 6e7c3c876..202d63078 100644
--- a/LICENSE.html
+++ b/LICENSE.html
@@ -338,7 +338,7 @@
Licenses
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@ Licenses
"url": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/aio.html b/aio.html
index 24b6dedaf..8faf3e3f9 100644
--- a/aio.html
+++ b/aio.html
@@ -421,7 +421,7 @@
Content from Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1169,7 +1169,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1482,7 +1482,7 @@ KeypointsContent from Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1752,7 +1752,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
@@ -1890,7 +1890,7 @@ KeypointsContent from Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2105,8 +2105,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -2317,7 +2317,7 @@
KeypointsContent from Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4307,7 +4307,7 @@ KeypointsContent from Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4641,7 +4641,7 @@
Solution to Challenge 1
-
+
R
@@ -4933,7 +4933,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -4995,7 +4995,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -5048,7 +5048,7 @@
Solution to Challenge 4
-
+
The object gapminder
is a data frame with columns
@@ -5090,7 +5090,7 @@ KeypointsContent from Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6680,7 +6680,7 @@ KeypointsContent from Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6850,7 +6850,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -7197,7 +7197,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -7283,7 +7283,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -7366,7 +7366,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -7417,7 +7417,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -7492,7 +7492,7 @@ KeypointsContent from Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8170,7 +8170,7 @@ KeypointsContent from Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8294,7 +8294,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -8346,7 +8346,7 @@
Solution to challenge 2
-
+
Refresh your plotting skills by plotting population in millions
against year.
@@ -8528,7 +8528,7 @@
Solution to challenge 3
-
+
Given the following matrix:
@@ -8613,7 +8613,7 @@
Challenge 4
-
+
We’re interested in looking at the sum of the following sequence of
fractions:
@@ -8764,7 +8764,7 @@ KeypointsContent from Functions Explained
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9555,7 +9555,7 @@ KeypointsContent from Writing Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9805,7 +9805,7 @@ KeypointsContent from Splitting and Combining Data Frames with plyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -10389,7 +10389,7 @@ KeypointsContent from Data Frame Manipulation with dplyr
- Last updated on 2023-11-15 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11195,7 +11195,7 @@ KeypointsContent from Data Frame Manipulation with tidyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11310,7 +11310,7 @@
Solution to Challenge 1
-
+
The original gapminder data.frame is in an intermediate format. It is
not purely long since it had multiple observation variables
@@ -11505,7 +11505,7 @@
Solution to Challenge 2
-
+
R
@@ -11804,7 +11804,7 @@
Solution to Challenge 3
-
+
R
@@ -11922,7 +11922,7 @@ KeypointsContent from Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -12111,7 +12111,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -12194,7 +12194,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -12286,7 +12286,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -12337,7 +12337,7 @@
Solution to Challenge 4
-
+
Here’s some inline code to determine that 2 + 2 = 4
.
@@ -12434,7 +12434,7 @@ KeypointsContent from Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
diff --git a/discuss.html b/discuss.html
index eb10a93d8..4fca4a2a0 100644
--- a/discuss.html
+++ b/discuss.html
@@ -338,7 +338,7 @@
Discussion
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -412,7 +412,7 @@ Discussion
"url": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/instructor/01-rstudio-intro.html b/instructor/01-rstudio-intro.html
index b28942aad..7772c5738 100644
--- a/instructor/01-rstudio-intro.html
+++ b/instructor/01-rstudio-intro.html
@@ -359,7 +359,7 @@
Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1083,7 +1083,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1448,7 +1448,7 @@ Keypoints
Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -603,7 +603,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -565,8 +565,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -829,7 +829,7 @@
Keypoints
Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2365,7 +2365,7 @@ Keypoints
Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -684,7 +684,7 @@
Solution to Challenge 1
-
+
R
@@ -969,7 +969,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -1030,7 +1030,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1083,7 +1083,7 @@
Solution to Challenge 4
-
+
Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1960,7 +1960,7 @@ Keypoints
Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -522,7 +522,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -868,7 +868,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -954,7 +954,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -1035,7 +1035,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1086,7 +1086,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -1216,7 +1216,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1074,7 +1074,7 @@ Keypoints
Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -521,7 +521,7 @@
Solution to challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a function for this:
@@ -1029,7 +1029,7 @@Solution to Challenge 3
-The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1082,7 +1082,7 @@
Solution to Challenge 4
-Subsetting Data
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1959,7 +1959,7 @@Keypoints
Control Flow
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -521,7 +521,7 @@Solution to Challenge 1
-We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -867,7 +867,7 @@
Solution to Challenge 2
-We can check whether the two vectors are identical using the
all()
function:
Solution to Challenge 3
-Step 1: We want to make sure we can extract all the unique values of the continent vector
@@ -1034,7 +1034,7 @@Solution to Challenge 4
-We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1085,7 +1085,7 @@
Solution for Challenge 5
-We will use the grep()
command that was introduced in
the Unix
@@ -1215,7 +1215,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1073,7 +1073,7 @@Keypoints
Vectorization
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -468,7 +468,7 @@Solution to challenge 1
-Let’s try this on the pop
column of the
gapminder
dataset.
Solution to challenge 2
-Refresh your plotting skills by plotting population in millions against year.
@@ -699,7 +699,7 @@Solution to challenge 3
-Given the following matrix:
Challenge 4
-We’re interested in looking at the sum of the following sequence of fractions:
@@ -988,7 +988,7 @@Keypoints
Functions Explained
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1189,7 +1189,7 @@Keypoints
Writing Data
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -655,7 +655,7 @@Keypoints
Splitting and Combining Data Frames with plyr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -979,7 +979,7 @@Keypoints
Data Frame Manipulation with dplyr
-Last updated on 2023-11-15 | +
Last updated on 2023-11-16 | Edit this page
@@ -1207,7 +1207,7 @@Keypoints
Data Frame Manipulation with tidyr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -466,7 +466,7 @@Solution to Challenge 1
-The original gapminder data.frame is in an intermediate format. It is not purely long since it had multiple observation variables @@ -660,7 +660,7 @@
Solution to Challenge 2
-R
@@ -958,7 +958,7 @@
Solution to Challenge 3
-
+
Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -542,7 +542,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -621,7 +621,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -709,7 +709,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -759,7 +759,7 @@
Solution to Challenge 4
-
+
Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -555,7 +555,7 @@ Keypoints
Contributor Code of Conduct
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -418,7 +418,7 @@ Contributor Code of Conduct
"url": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/LICENSE.html b/LICENSE.html
index 6e7c3c876..202d63078 100644
--- a/LICENSE.html
+++ b/LICENSE.html
@@ -338,7 +338,7 @@
Licenses
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@ Licenses
"url": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/aio.html b/aio.html
index 24b6dedaf..8faf3e3f9 100644
--- a/aio.html
+++ b/aio.html
@@ -421,7 +421,7 @@
Content from Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1169,7 +1169,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1482,7 +1482,7 @@ KeypointsContent from Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1752,7 +1752,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
@@ -1890,7 +1890,7 @@ KeypointsContent from Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2105,8 +2105,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -2317,7 +2317,7 @@
KeypointsContent from Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4307,7 +4307,7 @@ KeypointsContent from Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -4641,7 +4641,7 @@
Solution to Challenge 1
-
+
R
@@ -4933,7 +4933,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -4995,7 +4995,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -5048,7 +5048,7 @@
Solution to Challenge 4
-
+
The object gapminder
is a data frame with columns
@@ -5090,7 +5090,7 @@ KeypointsContent from Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6680,7 +6680,7 @@ KeypointsContent from Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -6850,7 +6850,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -7197,7 +7197,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -7283,7 +7283,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -7366,7 +7366,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -7417,7 +7417,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -7492,7 +7492,7 @@ KeypointsContent from Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8170,7 +8170,7 @@ KeypointsContent from Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -8294,7 +8294,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -8346,7 +8346,7 @@
Solution to challenge 2
-
+
Refresh your plotting skills by plotting population in millions
against year.
@@ -8528,7 +8528,7 @@
Solution to challenge 3
-
+
Given the following matrix:
@@ -8613,7 +8613,7 @@
Challenge 4
-
+
We’re interested in looking at the sum of the following sequence of
fractions:
@@ -8764,7 +8764,7 @@ KeypointsContent from Functions Explained
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9555,7 +9555,7 @@ KeypointsContent from Writing Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -9805,7 +9805,7 @@ KeypointsContent from Splitting and Combining Data Frames with plyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -10389,7 +10389,7 @@ KeypointsContent from Data Frame Manipulation with dplyr
- Last updated on 2023-11-15 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11195,7 +11195,7 @@ KeypointsContent from Data Frame Manipulation with tidyr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -11310,7 +11310,7 @@
Solution to Challenge 1
-
+
The original gapminder data.frame is in an intermediate format. It is
not purely long since it had multiple observation variables
@@ -11505,7 +11505,7 @@
Solution to Challenge 2
-
+
R
@@ -11804,7 +11804,7 @@
Solution to Challenge 3
-
+
R
@@ -11922,7 +11922,7 @@ KeypointsContent from Producing Reports With knitr
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -12111,7 +12111,7 @@
Solution to Challenge 1
-
+
In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -12194,7 +12194,7 @@
Solution to Challenge 2
-
+
```{r load-ggplot2}
@@ -12286,7 +12286,7 @@
Solution to Challenge 3
-
+
```{r echo = FALSE, fig.width = 3}
@@ -12337,7 +12337,7 @@
Solution to Challenge 4
-
+
Here’s some inline code to determine that 2 + 2 = 4
.
@@ -12434,7 +12434,7 @@ KeypointsContent from Writing Good Software
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
diff --git a/discuss.html b/discuss.html
index eb10a93d8..4fca4a2a0 100644
--- a/discuss.html
+++ b/discuss.html
@@ -338,7 +338,7 @@
Discussion
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -412,7 +412,7 @@ Discussion
"url": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"identifier": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html",
"dateCreated": "2015-04-18",
- "dateModified": "2023-09-10",
+ "dateModified": "2023-11-16",
"datePublished": "2023-11-16"
}
diff --git a/instructor/01-rstudio-intro.html b/instructor/01-rstudio-intro.html
index b28942aad..7772c5738 100644
--- a/instructor/01-rstudio-intro.html
+++ b/instructor/01-rstudio-intro.html
@@ -359,7 +359,7 @@
Introduction to R and RStudio
- Last updated on 2023-11-08 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1083,7 +1083,7 @@ OUTPUT<
}
else all.names
}
-<bytecode: 0x55c3a944aa70>
+<bytecode: 0x55bec8f02a70>
<environment: namespace:base>
What’s going on here?
@@ -1448,7 +1448,7 @@ Keypoints
Project Management With RStudio
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -603,7 +603,7 @@ SH<
OUTPUT
--rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
+-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -565,8 +565,8 @@ OUTPUT<
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
-[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7
-[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21
+[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41
+[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you
have loaded. This can be useful for others to help reproduce and debug
@@ -829,7 +829,7 @@
Keypoints
Data Structures
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -2365,7 +2365,7 @@ Keypoints
Exploring Data Frames
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -684,7 +684,7 @@
Solution to Challenge 1
-
+
R
@@ -969,7 +969,7 @@
Solution to Challenge 2
-
+
To check the last few lines it’s relatively simple as R already has a
function for this:
@@ -1030,7 +1030,7 @@
Solution to Challenge 3
-
+
The source
function can be used to use a script within a
script. Assume you would like to load the same type of file over and
@@ -1083,7 +1083,7 @@
Solution to Challenge 4
-
+
Subsetting Data
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1960,7 +1960,7 @@ Keypoints
Control Flow
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -522,7 +522,7 @@
Solution to Challenge 1
-
+
We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing
@@ -868,7 +868,7 @@
Solution to Challenge 2
-
+
We can check whether the two vectors are identical using the
all()
function:
@@ -954,7 +954,7 @@
Solution to Challenge 3
-
+
Step 1: We want to make sure we can extract all the
unique values of the continent vector
@@ -1035,7 +1035,7 @@
Solution to Challenge 4
-
+
We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
and upperThreshold
and
@@ -1086,7 +1086,7 @@
Solution for Challenge 5
-
+
We will use the grep()
command that was introduced in
the Unix
@@ -1216,7 +1216,7 @@ Keypoints
Creating Publication-Quality Graphics with ggplot2
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -1074,7 +1074,7 @@ Keypoints
Vectorization
- Last updated on 2023-09-10 |
+
Last updated on 2023-11-16 |
Edit this page
@@ -469,7 +469,7 @@
Solution to challenge 1
-
+
Let’s try this on the pop
column of the
gapminder
dataset.
@@ -521,7 +521,7 @@
Solution to challenge 2
-
+
Producing Reports With knitr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -542,7 +542,7 @@Solution to Challenge 1
-In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -621,7 +621,7 @@Solution to Challenge 2
-```{r load-ggplot2} @@ -709,7 +709,7 @@Solution to Challenge 3
-+```{r echo = FALSE, fig.width = 3} @@ -759,7 +759,7 @@Solution to Challenge 4
-+Writing Good Software
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -555,7 +555,7 @@Keypoints
Contributor Code of Conduct
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -418,7 +418,7 @@Contributor Code of Conduct
"url": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html", "identifier": "https://swcarpentry.github.io/r-novice-gapminder/CODE_OF_CONDUCT.html", "dateCreated": "2015-04-18", - "dateModified": "2023-09-10", + "dateModified": "2023-11-16", "datePublished": "2023-11-16" } diff --git a/LICENSE.html b/LICENSE.html index 6e7c3c876..202d63078 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -338,7 +338,7 @@
Licenses
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -469,7 +469,7 @@Licenses
"url": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html", "identifier": "https://swcarpentry.github.io/r-novice-gapminder/LICENSE.html", "dateCreated": "2015-04-18", - "dateModified": "2023-09-10", + "dateModified": "2023-11-16", "datePublished": "2023-11-16" } diff --git a/aio.html b/aio.html index 24b6dedaf..8faf3e3f9 100644 --- a/aio.html +++ b/aio.html @@ -421,7 +421,7 @@
Content from Introduction to R and RStudio
-Last updated on 2023-11-08 | +
Last updated on 2023-11-16 | Edit this page
@@ -1169,7 +1169,7 @@OUTPUT< } else all.names } -<bytecode: 0x55c3a944aa70> +<bytecode: 0x55bec8f02a70> <environment: namespace:base>
What’s going on here?
@@ -1482,7 +1482,7 @@Keypoints
Content from Project Management With RStudio
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1752,7 +1752,7 @@SH<
OUTPUT
-+-rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
@@ -1890,7 +1890,7 @@Keypoints
Content from Seeking Help
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -2105,8 +2105,8 @@OUTPUT< [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): -[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7 -[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21 +[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41 +[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you have loaded. This can be useful for others to help reproduce and debug @@ -2317,7 +2317,7 @@
Keypoints
Content from Data Structures
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -4307,7 +4307,7 @@Keypoints
Content from Exploring Data Frames
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -4641,7 +4641,7 @@Solution to Challenge 1
-+R @@ -4933,7 +4933,7 @@
Solution to Challenge 2
-+To check the last few lines it’s relatively simple as R already has a function for this:
@@ -4995,7 +4995,7 @@Solution to Challenge 3
-+The
source
function can be used to use a script within a script. Assume you would like to load the same type of file over and @@ -5048,7 +5048,7 @@Solution to Challenge 4
-+The object
gapminder
is a data frame with columns@@ -5090,7 +5090,7 @@
Keypoints
Content from Subsetting Data
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -6680,7 +6680,7 @@Keypoints
Content from Control Flow
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -6850,7 +6850,7 @@Solution to Challenge 1
-+We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing @@ -7197,7 +7197,7 @@Solution to Challenge 2
-+We can check whether the two vectors are identical using the
@@ -7283,7 +7283,7 @@all()
function:Solution to Challenge 3
-+Step 1: We want to make sure we can extract all the unique values of the continent vector
@@ -7366,7 +7366,7 @@Solution to Challenge 4
-+We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
andupperThreshold
and @@ -7417,7 +7417,7 @@Solution for Challenge 5
-+We will use the
grep()
command that was introduced in the Unix @@ -7492,7 +7492,7 @@Keypoints
Content from Creating Publication-Quality Graphics with ggplot2
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -8170,7 +8170,7 @@Keypoints
Content from Vectorization
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -8294,7 +8294,7 @@Solution to challenge 1
-+Let’s try this on the
@@ -8346,7 +8346,7 @@pop
column of thegapminder
dataset.Solution to challenge 2
-+Refresh your plotting skills by plotting population in millions against year.
@@ -8528,7 +8528,7 @@Solution to challenge 3
-+Given the following matrix:
@@ -8613,7 +8613,7 @@Challenge 4
-+We’re interested in looking at the sum of the following sequence of fractions:
@@ -8764,7 +8764,7 @@Keypoints
Content from Functions Explained
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -9555,7 +9555,7 @@Keypoints
Content from Writing Data
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -9805,7 +9805,7 @@Keypoints
Content from Splitting and Combining Data Frames with plyr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -10389,7 +10389,7 @@Keypoints
Content from Data Frame Manipulation with dplyr
-Last updated on 2023-11-15 | +
Last updated on 2023-11-16 | Edit this page
@@ -11195,7 +11195,7 @@Keypoints
Content from Data Frame Manipulation with tidyr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -11310,7 +11310,7 @@Solution to Challenge 1
-+The original gapminder data.frame is in an intermediate format. It is not purely long since it had multiple observation variables @@ -11505,7 +11505,7 @@
Solution to Challenge 2
-+R @@ -11804,7 +11804,7 @@
Solution to Challenge 3
-+R @@ -11922,7 +11922,7 @@
Keypoints
Content from Producing Reports With knitr
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -12111,7 +12111,7 @@Solution to Challenge 1
-+In RStudio, select File > New file > R Markdown…
Delete the placeholder text and add the following:
@@ -12194,7 +12194,7 @@Solution to Challenge 2
-+```{r load-ggplot2} @@ -12286,7 +12286,7 @@Solution to Challenge 3
-+```{r echo = FALSE, fig.width = 3} @@ -12337,7 +12337,7 @@Solution to Challenge 4
-+@@ -12434,7 +12434,7 @@Here’s some inline code to determine that 2 + 2 =
4
.Keypoints
Content from Writing Good Software
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
diff --git a/discuss.html b/discuss.html index eb10a93d8..4fca4a2a0 100644 --- a/discuss.html +++ b/discuss.html @@ -338,7 +338,7 @@
Discussion
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -412,7 +412,7 @@Discussion
"url": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html", "identifier": "https://swcarpentry.github.io/r-novice-gapminder/discuss.html", "dateCreated": "2015-04-18", - "dateModified": "2023-09-10", + "dateModified": "2023-11-16", "datePublished": "2023-11-16" } diff --git a/instructor/01-rstudio-intro.html b/instructor/01-rstudio-intro.html index b28942aad..7772c5738 100644 --- a/instructor/01-rstudio-intro.html +++ b/instructor/01-rstudio-intro.html @@ -359,7 +359,7 @@
Introduction to R and RStudio
-Last updated on 2023-11-08 | +
Last updated on 2023-11-16 | Edit this page
@@ -1083,7 +1083,7 @@OUTPUT< } else all.names } -<bytecode: 0x55c3a944aa70> +<bytecode: 0x55bec8f02a70> <environment: namespace:base>
What’s going on here?
@@ -1448,7 +1448,7 @@Keypoints
Project Management With RStudio
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -603,7 +603,7 @@SH<
OUTPUT
-+-rw-r--r-- 1 runner docker 80K Sep 10 14:35 data/gapminder_data.csv
-rw-r--r-- 1 runner docker 80K Nov 16 22:05 data/gapminder_data.csv
The file size is 80K.
Seeking Help
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -565,8 +565,8 @@OUTPUT< [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): -[1] compiler_4.3.1 tools_4.3.1 rstudioapi_0.15.0 yaml_2.3.7 -[5] knitr_1.43 xfun_0.40 renv_1.0.2 evaluate_0.21 +[1] compiler_4.3.1 tools_4.3.1 yaml_2.3.7 knitr_1.45 xfun_0.41 +[6] renv_1.0.3 evaluate_0.23
Will print out your current version of R, as well as any packages you have loaded. This can be useful for others to help reproduce and debug @@ -829,7 +829,7 @@
Keypoints
Data Structures
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -2365,7 +2365,7 @@Keypoints
Exploring Data Frames
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -684,7 +684,7 @@Solution to Challenge 1
-+R @@ -969,7 +969,7 @@
Solution to Challenge 2
-+To check the last few lines it’s relatively simple as R already has a function for this:
@@ -1030,7 +1030,7 @@Solution to Challenge 3
-+The
source
function can be used to use a script within a script. Assume you would like to load the same type of file over and @@ -1083,7 +1083,7 @@Solution to Challenge 4
-+Subsetting Data
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1960,7 +1960,7 @@Keypoints
Control Flow
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -522,7 +522,7 @@Solution to Challenge 1
-+We will first see a solution to Challenge 1 which does not use the
any()
function. We first obtain a logical vector describing @@ -868,7 +868,7 @@Solution to Challenge 2
-+We can check whether the two vectors are identical using the
@@ -954,7 +954,7 @@all()
function:Solution to Challenge 3
-+Step 1: We want to make sure we can extract all the unique values of the continent vector
@@ -1035,7 +1035,7 @@Solution to Challenge 4
-+We modify our solution to Challenge 3 by now adding two thresholds,
lowerThreshold
andupperThreshold
and @@ -1086,7 +1086,7 @@Solution for Challenge 5
-+We will use the
grep()
command that was introduced in the Unix @@ -1216,7 +1216,7 @@Keypoints
Creating Publication-Quality Graphics with ggplot2
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -1074,7 +1074,7 @@Keypoints
Vectorization
-Last updated on 2023-09-10 | +
Last updated on 2023-11-16 | Edit this page
@@ -469,7 +469,7 @@Solution to challenge 1
-+Let’s try this on the
@@ -521,7 +521,7 @@pop
column of thegapminder
dataset.Solution to challenge 2
-+