Skip to content

Commit

Permalink
Merge pull request #166 from SISBID/subsetting_tiny_fix
Browse files Browse the repository at this point in the history
one small fix for subsetting lab
  • Loading branch information
carriewright11 authored Aug 12, 2024
2 parents 431a659 + c38870d commit a6c532a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 66 deletions.
2 changes: 1 addition & 1 deletion labs/data-subsetting-lab-part1-key.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ mpg %>% filter(class =="suv" | class == "minivan") %>% nrow()
9. Filter cars with displacements (`displ`) greater than 4 and that are all 4 wheel drive (`drv`). How many cars/rows are there.

```{r}
mpg %>% filter(displ > 4, drv == "4") %>% nrow()
mpg %>% filter(displ > 4 & drv == "4") %>% nrow()
```
117 changes: 52 additions & 65 deletions labs/data-subsetting-lab-part1-key.html

Large diffs are not rendered by default.

0 comments on commit a6c532a

Please sign in to comment.