-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update slides for 2024. #50
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good plan. Just made some suggestions on the formatting of the slides
# When should I write my own function? | ||
|
||
## Some inspirations | ||
- Standardized procedures done many times | ||
- Discrete chunks of a workflow | ||
- Code used by multiple scripts or at multiple points in a workflow | ||
|
||
- Turn the project folder for one of your current research project into a git/GitHub repo and/or R project | ||
- Modify an R script to use functions, conditionals, or best-practices for code formatting | ||
- Improve directory organization for project or your entire computer! | ||
# When should I leave code in a script? | ||
|
||
# Today's objectives | ||
- Single-use, highly-customized code (e.g. a plot) | ||
- Code that is changing a lot | ||
- Code that *tells the story* of your analysis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this!
Oh, and remember to update index.qmd and the syllabus to get a link to the slides on the website! |
Co-authored-by: Eric R. Scott <scottericr@gmail.com>
Co-authored-by: Eric R. Scott <scottericr@gmail.com>
Co-authored-by: Eric R. Scott <scottericr@gmail.com>
Co-authored-by: Eric R. Scott <scottericr@gmail.com>
This updates the slides and adds a script for 2024. My plan with the script is to take what's written, discuss it, and then turn it into a function and apply it using for loops and purrr. Feedback would be welcome!