diff --git a/docs/AdditionalResources/AdditionalResources.html b/docs/AdditionalResources/AdditionalResources.html index cd0abb5..e4b6ec2 100644 --- a/docs/AdditionalResources/AdditionalResources.html +++ b/docs/AdditionalResources/AdditionalResources.html @@ -880,6 +880,8 @@
Riffomonas Code Club Youtube channel and R scripts. R basics and more advanced tricks especially for microbial ecologists.
swirl: an R package for +interactive self-learning within R
plot_type
surveyed?
|>
surveys count(plot_type)
4.2 Use group_by()
and
-summarize()
to find the mean, minimum and maximum hindfoot
-length for each species (using species_id
). Also try adding
-the number of observations (hint: use n
).
4.2 Use summarize()
.by
to
+find the mean, minimum and maximum hindfoot length for each species
+(using species_id
). Also try adding the number of
+observations (hint: use n
).
|>
surveys filter(!is.na(hindfoot_length)) |>
summarize(
@@ -1038,7 +1038,7 @@ Block 4: counting
|>
surveys filter(!is.na(weight)) |>
filter(weight == max(weight), .by = year) |>
- select(year, genus, species, weight) |>
+ select(year, genus, species_id, weight) |>
arrange(year)