Skip to content

Commit

Permalink
Remove specific request to print output
Browse files Browse the repository at this point in the history
This has caused confusion in the past and we now cover it by telling
students up front that we need assignments to show output.
  • Loading branch information
ethanwhite committed Aug 22, 2023
1 parent b277b55 commit 79a15e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/Dplyr-shrub-volume-data-basics-R.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ If the file [`shrub-volume-data.csv`]({{ site.baseurl }}/data/shrub-volume-data.

Get familiar with the data by importing it using `read.csv()` and use `dplyr` to complete the following tasks.

1. Select the data from the length column and print it out (using `select`).
2. Select the data from the site and experiment columns and print it out (using `select`).
1. Select the data from the length column (using `select`).
2. Select the data from the site and experiment columns (using `select`).
3. Add a new column named `area` containing the area of the shrub, which is the length times the width (using `mutate`).
4. Sort the data by length (using `arrange`).
5. Filter the data to include only plants with heights greater than 5 (using `filter`).
Expand Down

0 comments on commit 79a15e8

Please sign in to comment.