Skip to content

Commit b836b26

Browse files
Proof reading: intro to r control flow
1 parent 2adff2a commit b836b26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

individual_modules/introduction_to_r/control_flow.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
"id": "d8a4a1c1-8946-435d-ac04-6d4731cefea6",
219219
"metadata": {},
220220
"source": [
221-
"This is shorter---certainly shorter than something that prints every character in a hundred-letter string---and more robust as well:"
221+
"This is shorter---certainly shorter than something that prints every character in a hundred-letter string---and more robust as well."
222222
]
223223
},
224224
{
@@ -241,7 +241,7 @@
241241
"id": "c457c646-5d4e-486c-a236-1c4995d0aa80",
242242
"metadata": {},
243243
"source": [
244-
"We can name the loop variable anything we like (with a few (restrictions)[http://cran.r-project.org/doc/manuals/R-intro.html#R-commands_003b-case-sensitivity-etc], e.g. the name of the variable cannot start with a digit). `in` is part of the `for` syntax. Note that the body of the loop is enclosed in curly braces `{ }`. For a single-line loop body, as here, the braces aren't needed, but it is good practice to include them as we did.\n",
244+
"We can name the loop variable anything we like (with a few [restrictions](http://cran.r-project.org/doc/manuals/R-intro.html#R-commands_003b-case-sensitivity-etc), e.g. the name of the variable cannot start with a digit). `in` is part of the `for` syntax. Note that the body of the loop is enclosed in curly braces `{ }`. For a single-line loop body, as here, the braces aren't needed, but it is good practice to include them, as we did.\n",
245245
"\n",
246246
"Here's another loop that repeatedly updates a variable:"
247247
]

individual_modules/introduction_to_r/manipulating_data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@
10521052
"\n",
10531053
"* Rename the columns of ```iris``` by prefixing with the word \"flower\" and the separator \"_\"\n",
10541054
"* In your copy, duplicate the ```Species``` column\n",
1055-
"* Add a column to your copy which contains the numbers from 4 to 600 increasing by 4 each time"
1055+
"* Add a column to your copy which contains the numbers from 4 to 600 increasing by 4 each time."
10561056
]
10571057
},
10581058
{

0 commit comments

Comments
 (0)