add an example on positional vs keyword arguments
jameslamb opened this issue · comments
James Lamb commented
This issue documents a few things that would make the material from Week 1 of the R Programming course more approachable for students, based on observations from how the first lecture went.
- Add an example in the code supplement showing different calls to a function and how the result differ based on how you specify arguments (to teach positional vs. keyword, default vs. non-default)
Remove any uses of(#89)%%
from the courseDo objects (e.g. vectors, lists, dataframes) before control flow, since the examples use vectors and subsetting(#89)