Amherst-Statistics / IS5inR

Companion materials for De Veaux, Velleman, and Bock's "Intro Stats" 5th edition
MIT License
0 stars 3 forks source link

overly cryptic messages (and need for explanation of clean_names()): needed for all chapters. #16

Closed nicholasjhorton closed 6 years ago

nicholasjhorton commented 6 years ago

"# If you look at the data set, you'll see that the first line is "Col1", "Col2", etc" is overly cryptic. Can you please note the first time you need to use skip = 1

The first line is "Col1", "Col2", ... As a result the "skip = 1" option is needed.

Suggest wording for all chapters at the first use of clean_names():

The clean_names() function (from the janitor package) ensures that variable names don't contain any special characters or whitespace. The names() function can be used to display the names of variables once they have been cleaned up.

nicholasjhorton commented 6 years ago

Any updates on this front? I'm not seeing this in the chapters I'm reviewing for Part I.

nicholasjhorton commented 6 years ago

Note that I've made the fix for Chapter03.Rmd. Note that you had this hidden at the end of the code chunk. I broke the code into two chunks so that the text appeared next to the read_csv() call (see https://github.com/Amherst-Statistics/IS5inR/commit/c41463fdcdc23fe30cd33ec5b12fed0dda85018c).