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

Subsetting Part 1 #179

Open
avahoffman opened this issue Aug 12, 2024 · 4 comments
Open

Subsetting Part 1 #179

avahoffman opened this issue Aug 12, 2024 · 4 comments

Comments

@avahoffman
Copy link
Collaborator

avahoffman commented Aug 12, 2024

1

That was a lot of typing and nested functions, which can be confusing. Recently, the pipe `%>%` makes things such as this much more readable. It reads left side "pipes" into right side. RStudio `CMD/Ctrl + Shift + M` shortcut.

Not sure it's "recently" anymore (I feel old lol)

2

## Subset rows of a `data.frame`:

## Subset rows of a `data.frame`:

I think information about filtering based on multiple criteria could probably be condensed into one slide (basically telling them to combine with & or | -- comma is harder to interpret so I try not to show it that way). We were pressed for time with the lab so this could maybe help with time.

3

Summary is cut off at bottom of slide

4

## Subset rows of a `data.frame`:

Many slides start with this header. Perhaps make them more specific?

@avahoffman avahoffman changed the title Subsetting Subsetting Part 1 Aug 12, 2024
@avahoffman
Copy link
Collaborator Author

avahoffman commented Aug 12, 2024

LAB

9. Filter cars with displacements (`displ`) greater than 4 and that are all 4 wheel drive (`drv`) (a value of 4 for `drv`). How many cars/rows are there.

Missing a code chunk for folks to put their answer

@carriewright11
Copy link
Collaborator

carriewright11 commented Aug 12, 2024

I was also thinking we could skip one or two of the questions in the lab (because we will do more of this in subsetting 2 and also because there are more questions here than other labs)- but we could make it an extra practice on your own question.

@carriewright11
Copy link
Collaborator

carriewright11 commented Aug 12, 2024

3

Summary is cut off at bottom of slide

That was just the how expanded my screen was for my browser on my laptop - it isn't actually cut off - so that is already ok :)

@carriewright11
Copy link
Collaborator

carriewright11 commented Aug 12, 2024

we were 5 min over - for understanding how much to cut (also ran through last 2 questions quickly)

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

No branches or pull requests

2 participants