Skip to content

Commit 1a1b380

Browse files
authored
Update 02-data-wrangling-in-r.md
1 parent 635a5bc commit 1a1b380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labs/making-maps-in-r/02-data-wrangling-in-r.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ or
7474
select(rds, -(3:4))
7575
```
7676

77-
Note that here I need to put `1:2` in parentheses so it knows to remove all the columns 1 to 10, and doesn't start by trying to remove a (non-existent) column number -1.
77+
Note that here I need to put `3:4` in parentheses so it knows to remove all the columns 1 to 10, and doesn't start by trying to remove a (non-existent) column number -3.
7878

7979
### Selecting rows
8080
We look at filtering based on data in the next section. If you just want rows, then use `slice()`

0 commit comments

Comments
 (0)