diff --git a/docs/case-study/02-case-study-exercises.Rmd b/docs/case-study/02-case-study-exercises.Rmd index a1c49d6..77021ef 100644 --- a/docs/case-study/02-case-study-exercises.Rmd +++ b/docs/case-study/02-case-study-exercises.Rmd @@ -165,7 +165,7 @@ glimpse(df) ``` -12. The "Factor_D" variable contains 15 unique values (i.e. 10, 15, 20, 21, ..., 85, 90). There is at least one single observation where `Factor_D = 26` (possibly more). Assume these observations were improperly recorded and, in fact, the value should be 25. +12. The "Factor_D" variable contains 13 unique values (i.e. 10, 15, 20, 21, ..., 70, 90). There is at least one single observation where `Factor_D = 26` (possibly more). Assume these observations were improperly recorded and, in fact, the value should be 25. Using `ifelse()` (or __dplyr__'s `if_else()`) inside `mutate()`, recode any values where `Factor_D == 26` to be 25. diff --git a/docs/case-study/02-case-study-solutions.Rmd b/docs/case-study/02-case-study-solutions.Rmd index 5739667..513571f 100644 --- a/docs/case-study/02-case-study-solutions.Rmd +++ b/docs/case-study/02-case-study-solutions.Rmd @@ -114,7 +114,7 @@ glimpse(df) ``` -12. The "Factor_D" variable contains 15 unique values (i.e. 10, 15, 20, 21, ..., 85, 90). There is at least one single observation where `Factor_D = 26` (possibly more). Assume these observations were improperly recorded and, in fact, the value should be 25. +12. The "Factor_D" variable contains 13 unique values (i.e. 10, 15, 20, 21, ..., 70, 90). There is at least one single observation where `Factor_D = 26` (possibly more). Assume these observations were improperly recorded and, in fact, the value should be 25. Using `ifelse()` (or __dplyr__'s `if_else()`) inside `mutate()`, recode any values where `Factor_D == 26` to be 25.