Skip to content

Commit a179a46

Browse files
Merge pull request #328 from coding-for-reproducible-research/writing_function_in_r_short_course
Correct typo
2 parents 27b1831 + a1f4183 commit a179a46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

short_courses/r_functions.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@
362362
"- Calculate averages (mean) of different columns in the dataset for each of the BMI categories (e.g. average incidence of diabetes in each of the BMI categories).\n",
363363
"\n",
364364
"The code below calculates the averages for each BMI category of three different columns:\n",
365-
"- `Total_body_fat_pct`: `Total_body_fat_pct`: total body fat percentage\n",
366-
"- `Diabetes`: `Diabetes`: whether the subject has diabetes (`1`) or not (`0`)\n",
367-
"- `Total_cholesterol`: `Total_cholesterol`: total cholesterol in blood (mg/dL)\n",
365+
"- `Total_body_fat_pct`: total body fat percentage\n",
366+
"- `Diabetes`: whether the subject has diabetes (`1`) or not (`0`)\n",
367+
"- `Total_cholesterol`: total cholesterol in blood (mg/dL)\n",
368368
"\n",
369369
"Later, we will see a way we can write functions to simplify the code."
370370
]

0 commit comments

Comments
 (0)