From 7615be6bd1d0f5905ef34cfb8c70d8ea20c4ad3f Mon Sep 17 00:00:00 2001 From: Heli Juottonen Date: Mon, 27 Nov 2023 21:01:47 +0200 Subject: [PATCH] Small corrections for November 2023 --- .../AdditionalResources.html | 2 + ..._DataManipulation_Exercises_Completed.html | 10 ++--- docs/Schedule/Schedule.html | 40 +++++-------------- .../AdditionalResources.Rmd | 3 +- ...5_DataManipulation_Exercises_Completed.Rmd | 4 +- 5 files changed, 22 insertions(+), 37 deletions(-) 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 @@

2. Websites and books

  • 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

  • diff --git a/docs/ExercisesCompleted/5_DataManipulation_Exercises_Completed.html b/docs/ExercisesCompleted/5_DataManipulation_Exercises_Completed.html index 165985a..70849c4 100644 --- a/docs/ExercisesCompleted/5_DataManipulation_Exercises_Completed.html +++ b/docs/ExercisesCompleted/5_DataManipulation_Exercises_Completed.html @@ -1017,10 +1017,10 @@

    Block 4: counting

    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)
    diff --git a/docs/Schedule/Schedule.html b/docs/Schedule/Schedule.html index 95c4366..b9e021e 100644 --- a/docs/Schedule/Schedule.html +++ b/docs/Schedule/Schedule.html @@ -7,7 +7,7 @@ - Schedule_remote.knit + Schedule.knit