Skip to content

Commit

Permalink
adding slide about alternative pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
carriewright11 committed Dec 5, 2024
1 parent 645c702 commit 76edd8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/Subsetting_Data_in_R/Subsetting_Data_in_R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,13 @@ The pipe `%>%` makes this much more readable. It reads left side "pipes" into r
er_30 %>% filter(year > 2000 & county == "Denver") %>% select(year, rate)
```

## Alternative Pipes

There are multiple ways to write a pipe and you might see these (they work the same!):

|>

%>%

# Adding/Removing Columns

Expand Down

0 comments on commit 76edd8d

Please sign in to comment.