How-to-Learn-to-Code / rclass

Repository for the UNC-CH How to Learn to Code R Class
https://how-to-learn-to-code.github.io/rclass/
Other
2 stars 3 forks source link

Edit the vignettes to specify parameters by italicizing. #22

Open daynefiler opened 6 years ago

daynefiler commented 6 years ago

Code blocks can be italicized by *`par = TRUE`*. It may be helpful to students to clarify when we are talking about a function vs parameter. Obviously, inline code like function(p1 = 1, p2 = 2) should be clear on its own.

We could then add a line to the "Using this document" section of each vignette about how we differentiate.

daynefiler commented 6 years ago

This is a lot of work. If we decide to do this, we should spread the work over a couple people and assign specific vignettes.

daynefiler commented 6 years ago

As a note: RStudio allows you to highlight a segment of text, then press Shift+8 and it will add the stars around the highlighted text.