Was following along the YouTube series and noticed they started using .Rmds in the Chapter 6 Labs, and the commands used there are in dissonance with the "Chapter 6 Lab" found elsewhere. Couldn't find this .Rmd anywhere online (though I did find the HTML output here), so I made it myself.
I've also made a few minor adjustments reflecting best practices, e.g. replacing rep(NA, 19) with numeric(19L) since the latter is declared in the correct type and is ever-so-slightly more efficient (about 10% by my measure).
Was following along the YouTube series and noticed they started using .Rmds in the Chapter 6 Labs, and the commands used there are in dissonance with the "Chapter 6 Lab" found elsewhere. Couldn't find this .Rmd anywhere online (though I did find the HTML output here), so I made it myself.
I've also made a few minor adjustments reflecting best practices, e.g. replacing
rep(NA, 19)
withnumeric(19L)
since the latter is declared in the correct type and is ever-so-slightly more efficient (about 10% by my measure).