diff --git a/r4babs2/week-1/data-raw/beewing.txt b/r4babs2/week-1/data-raw/beewing.txt index 62039e44..5ba8474c 100644 --- a/r4babs2/week-1/data-raw/beewing.txt +++ b/r4babs2/week-1/data-raw/beewing.txt @@ -1,4 +1,4 @@ -wing +wing_mm 3.6 3.7 3.8 diff --git a/r4babs2/week-1/workshop.qmd b/r4babs2/week-1/workshop.qmd index a8b09fbf..a27d8f82 100644 --- a/r4babs2/week-1/workshop.qmd +++ b/r4babs2/week-1/workshop.qmd @@ -91,21 +91,21 @@ Where 1.96 is the quantile for 95% confidence. #---CODING ANSWER--- -bee <- read_table("data-raw/beewing.txt") -str(bee) +beewing <- read_table("data-raw/beewing.txt") +str(beewing) ``` ![](images/do_in_R.png) Calculate and assign to variables: the mean, standard deviation and standard error: ```{r} # mean -m <- mean(bee$wing) +m <- mean(beewing$wing_mm) # standard deviation -sd <- sd(bee$wing) +sd <- sd(beewing$wing_mm) # sample size (needed for the se) -n <- length(bee$wing) +n <- length(beewing$wing_mm) # standard error se <- sd / sqrt(n) diff --git a/r4babs2/week-4/overview.qmd b/r4babs2/week-4/overview.qmd index 0eaaf271..f3e900d9 100644 --- a/r4babs2/week-4/overview.qmd +++ b/r4babs2/week-4/overview.qmd @@ -6,7 +6,7 @@ toc-location: right --- -Last week you learnt how to use and interpret the general linear model when the *x* variable was categorical with two groups. You will now extend that to situations when there are more than two groups. This is often known as the one-way ANOVA (**an**alysis **o**f **var**iance). You will also learn about the Kruskal- Wallis test which can be used when the assumptions of the general linear model are not met. +Last week you learnt how to use and interpret the general linear model when the *x* variable was categorical with two groups. You will now extend that to situations when there are more than two groups. This is often known as the one-way ANOVA (**an**alysis **o**f **var**iance). You will also learn about the Kruskal-Wallis test which can be used when the assumptions of the general linear model are not met. ### Learning objectives diff --git a/r4babs4/week-1/workshop.qmd b/r4babs4/week-1/workshop.qmd index 09d1d3b3..6f32fc96 100644 --- a/r4babs4/week-1/workshop.qmd +++ b/r4babs4/week-1/workshop.qmd @@ -175,13 +175,13 @@ of the work. ## Load packages -We need XXXX packages for this workshop: +We need the following packages for this workshop: - **`tidyverse`** [@tidyverse]: importing the meta data which is in a text file, working with the data once it is in a dataframe to filter, summarise and plot. -🎬 Load **`tidyverse`**,**`xxxxxx`** and **`xxxxx`** +🎬 Load **`tidyverse`** ```{r} library(tidyverse) diff --git a/r4babs4/week-4/study_after_workshop.qmd b/r4babs4/week-4/study_after_workshop.qmd index 55be5536..6c3bbc82 100644 --- a/r4babs4/week-4/study_after_workshop.qmd +++ b/r4babs4/week-4/study_after_workshop.qmd @@ -1,6 +1,6 @@ --- title: "Independent Study to consolidate this week" -subtitle: "DA 3 Immunobiology" +subtitle: "Data Analysis 3: Immunobiology - Your data analysis" toc: true toc-location: right format: @@ -9,14 +9,9 @@ format: code-summary: "Answer - don't look until you have tried!" --- -# Set up -If you have just opened RStudio you will want to load the **`tidyverse`** package - -```{r} -#| code-fold: false -library(tidyverse) -``` # Exercises +🎬 Go through week 1 Core workshop. + diff --git a/r4babs4/week-4/study_before_workshop.qmd b/r4babs4/week-4/study_before_workshop.qmd index 57a2fd2c..e035575a 100644 --- a/r4babs4/week-4/study_before_workshop.qmd +++ b/r4babs4/week-4/study_before_workshop.qmd @@ -1,12 +1,12 @@ --- title: "Independent Study to prepare for workshop" -subtitle: "DA 3 Immunobiology" +subtitle: "Data Analysis 3: Immunobiology - Your data analysis" toc: true toc-location: right --- 1. Prepare - i. 📖 Read + i. 📖 Review the [Workshop in Week 2](../week-2/workshop.html) and try to apply the workflow to your own data so that you can identify problems and be ready to ask questions. diff --git a/r4babs4/week-4/workshop.qmd b/r4babs4/week-4/workshop.qmd index 87b11b57..f1a9fe96 100644 --- a/r4babs4/week-4/workshop.qmd +++ b/r4babs4/week-4/workshop.qmd @@ -1,6 +1,6 @@ --- title: "Workshop" -subtitle: "DA 3 Immunobiology" +subtitle: "Data Analysis 3: Immunobiology - Your data analysis" toc: true toc-location: right editor: