Replace the inflammation dataset with a dataset in long format that has column names #612
Open
Description
How could the content be improved?
Hey I love the lesson and use it every time I teach R; however, from a pedagogical perspective the inflammation dataset is just strangely structured (wide format without column names) and so the code used to read it in (e.g., read.csv(..., header = FALSE)
, and then to work with it graphically (plot(1:length(...), )
doesn't set the students up to be able to generalize their knowledge to a more standard data structure that they also want to read in and graph. Just wanted to pass that along (as I correct my students's coding errors :P) if there is every a rehashing of this content - switch to a more commonly encountered data structure. Thanks for all the hard work.
Which part of the content does your suggestion apply to?
Reading and plotting the data.