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

Update slides for 2024. #50

Merged
merged 9 commits into from
Oct 1, 2024
Merged

Update slides for 2024. #50

merged 9 commits into from
Oct 1, 2024

Conversation

diazrenata
Copy link
Contributor

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!

@diazrenata diazrenata requested a review from Aariq September 30, 2024 16:05
Copy link
Member

@Aariq Aariq left a 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

Comment on lines 21 to 31
# 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this!

lessons/9-intermediate-r-2/slides.qmd Outdated Show resolved Hide resolved
lessons/9-intermediate-r-2/slides.qmd Outdated Show resolved Hide resolved
lessons/9-intermediate-r-2/slides.qmd Outdated Show resolved Hide resolved
lessons/9-intermediate-r-2/slides.qmd Outdated Show resolved Hide resolved
lessons/9-intermediate-r-2/slides.qmd Outdated Show resolved Hide resolved
@Aariq
Copy link
Member

Aariq commented Sep 30, 2024

Oh, and remember to update index.qmd and the syllabus to get a link to the slides on the website!

diazrenata and others added 7 commits September 30, 2024 13:47
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>
@diazrenata diazrenata merged commit b64af5d into main Oct 1, 2024
1 check passed
@diazrenata diazrenata deleted the update-r-ii branch October 1, 2024 16:36
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

Successfully merging this pull request may close these issues.

2 participants