Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagrams to describe functions #486

Open
karenword opened this issue Sep 8, 2020 · 2 comments
Open

Diagrams to describe functions #486

karenword opened this issue Sep 8, 2020 · 2 comments

Comments

@karenword
Copy link

karenword commented Sep 8, 2020

The following was submitted by email as a contribution for checkout:

"As part of my checkout process, I would like to make a contribution to Programming with R - Creating Functions, by adding a diagram to describe functions (svg and png files are attached). For the novice, even after seeing how a function works, it can be difficult to understand what components are doing what, and what needs to be changed when creating a new function. Hopefully the image below will help with that.

Below is a visual representation of different components of a function. When creating a new function, one can define the following components a: 1) function name, 2) function argument(s), and 3) function body."

https://drive.google.com/file/d/1f29zR5WJW_Ie3FSZeUTSY8-ar15RCqd1/view?usp=sharing

https://drive.google.com/file/d/1y6ZgUwFw9XJV-57lgpfsqhpqWJRFYWqH/view?usp=sharing

@C-CAB
Copy link

C-CAB commented Sep 10, 2020

I think this is a good idea to include in the the lesson plan or as some form of supplementary material. Having a static image that connects terms to examples helps explain the definitions and can provide a great reference for people to come back to. I think this would be a good idea to expand upon with other terms early on in lessons.

fmichonneau pushed a commit that referenced this issue Oct 15, 2020
Git for Windows doesn't provide fgrep, which is a shortcut
to call `grep -F` on Mac and Linux. Instead, we have to use
full arguments.
@HaoZeke
Copy link
Member

HaoZeke commented Dec 29, 2020

This is fantastic, I've been using Jamboard to draw precisely this. It'd be great to have a PR for this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants