The following code is supposed to import the shrub volume data and calculate the mean shrub volume for each site and, separately, for each experiment (ignoring NA’s).
Fix the errors in the code so that it does what it’s supposed to
Add one or more comments to the code explaining what it does
Output solution
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Rows: 15 Columns: 5
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
dbl (5): site, experiment, length, width, height
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.