Publications by Michael Hunt
Standing water wave
A standing water wave arising from perfect reflection off, say, a vertical harbour wall ...
96 sym 1 img
Visualising data using ggplot2
Load packages From Chapter 4 of Beckerman, Childs and Petchey: Getting Started with R Before you do any statistical analysis of your data it is almost always a good idea to plot the data in some way. This will very likely tell you whether or not the relationships you suspect to be present in the data are or are not present. In this exercise we in...
8711 sym R (2001 sym/22 pcs) 15 img
dyplr exercises
From Chapter 3 of Beckerman, Childs and Petchey: Getting Started with R Data Management, manipulation and exploration using commands from dplyr(), part of the tidyverse() package In this exercise we will use the compensation data set, which has 40 observations of the root stock mass and mass of fruit harvested, for apple trees in both grazed and...
12987 sym R (848 sym/21 pcs)
tidy_data
Using R to read in, inspect and tidy up data Adapted from Chapter 2 of Beckerman, Childs and Petchey: Getting Started with R The very useful data manipulation (dplyr()) and plotting (ggplot2()) packages within tidyverse() work much more effectively when the data is tidy. We will explain below what is meant by a ‘package’. Tidy means - each va...
10127 sym R (5183 sym/35 pcs)
linear_model
This exercise is partly taken from Beckerman, Childs and Petchey, Chapter 5 Preliminaries Is there a relationship between plant growth rate and soil moisture content? For this exercise you will need the dataset plant_growth_rate.csv. This should be in your RStuff/data folder. If not, get it from the edenR/data folder in the Postgrad. Research M...
12355 sym R (9518 sym/53 pcs) 10 img
community_ecology
The vegan package provides tools for descriptive community ecology. It can be found on CRAN. Some of the data used here is from Mark Gardener’s book: Statistics for Ecologists Using R and Excel Preliminaries Start a new script in your RStuff/scripts folder. Open your RStuff project using File/OpenProject. Load packages library(tidyverse) libr...
5110 sym R (9315 sym/32 pcs) 3 img
tidy_birds
Michael Hunt 18-01-2021 This exercise uses a set of data on birds from Mark Gardener. library(tidyverse) library(here) Load the data untidy_birds<-read_csv(here("data","bird.csv")) ## Parsed with column specification: ## cols( ## Species = col_character(), ## Garden = col_double(), ## Hedgerow = col_double(), ## Parkland = col_double(),...
696 sym R (1010 sym/9 pcs)
Tidy birds data exercise
Michael Hunt 18-01-2021 This exercise uses a set of data on birds from Mark Gardener. library(tidyverse) library(here) Load the data untidy_birds<-read_csv(here("data","bird.csv")) Parsed with column specification: cols( Species = col_character(), Garden = col_double(), Hedgerow = col_double(), Parkland = col_double(), Pasture = col_d...
1617 sym R (680 sym/8 pcs)
asking_questions
What does xkcd have to say? What is my question? The first thing to have in starting a research project is a question. What is that you are trying to find out? What is your question? What kind of data will I collect? In deciding how to answer your question, it matters what sort of data you collect. There are three types: Categorical: eg specie...
10051 sym 9 img
t_test
Preliminaries In this exercise we find out how to use R to run a t-test, to determine whether there is evidence of a difference between two populations. The exercise is taken from Chapter 5: Beckerman, Childs and Petchey: Getting Started with R. Open your RStuff project using File/Open Project, navigating to the RStuff folder, then clicking on th...
6602 sym R (962 sym/8 pcs)