Add what TB is, fix typos, closes #1030
This commit is contained in:
parent
57206d364a
commit
c101f64f86
|
@ -43,7 +43,7 @@ From this chapter on, we'll suppress the loading message from `library(tidyverse
|
||||||
|
|
||||||
You can represent the same underlying data in multiple ways.
|
You can represent the same underlying data in multiple ways.
|
||||||
The example below shows the same data organised in four different ways.
|
The example below shows the same data organised in four different ways.
|
||||||
Each dataset shows the same values of four variables: *country*, *year*, *population*, and *cases*, but each dataset organizes the values in a different way.
|
Each dataset shows the same values of four variables: *country*, *year*, *population*, and *cases* of TB (tuberculosis), but each dataset organizes the values in a different way.
|
||||||
|
|
||||||
<!-- TODO redraw as tables -->
|
<!-- TODO redraw as tables -->
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ ggplot(table1, aes(year, cases)) +
|
||||||
c. Divide cases by population, and multiply by 10000.
|
c. Divide cases by population, and multiply by 10000.
|
||||||
d. Store back in the appropriate place.
|
d. Store back in the appropriate place.
|
||||||
|
|
||||||
You haven't yet learned all the functions you'd need to actual perform these operations, but you should still be able to think through the transformations you'd need.
|
You haven't yet learned all the functions you'd need to actually perform these operations, but you should still be able to think through the transformations you'd need.
|
||||||
|
|
||||||
3. Recreate the plot showing change in cases over time using `table2` instead of `table1`.
|
3. Recreate the plot showing change in cases over time using `table2` instead of `table1`.
|
||||||
What do you need to do first?
|
What do you need to do first?
|
||||||
|
|
Loading…
Reference in New Issue