Blog Archives

Spatial predictions with GAMs and rasters

February 18, 2020
By
Spatial predictions with GAMs and rasters

Spatial predictions with GAMs and rasters One powerful use of GAMs is for interpolating to unsampled locations. We can combine GAMs with raster package to conveniently predict a GAM model to places we have not got data. Simulate some spatial data We...

Read more »

Three ways to calculate distances in R

February 7, 2020
By
Three ways to calculate distances in R

Three ways to calculate distances in R Calculating a distance on a map sounds straightforward, but it can be confusing how many different ways there are to do this in R. This complexity arises because there are different ways of defining ‘distance?...

Read more »

Using R and power analysis to inform experimental design

November 2, 2019
By
Using R and power analysis to inform experimental design

Using R and power analysis to inform experimental design A collaborator once asked me: “can you do that thing where you take a little bit of data and model it up to make lots more data?” Does it sound suspicious to fake a lot of data from a littl...

Read more »

Make a map of your study site with tmap

October 2, 2019
By
Make a map of your study site with tmap

Make a map of your study site with tmap I’m loving the tmap package right now. Here’s why. And we’ll look at how to make a clean map of a study site as we go. We’ll use the data from our study of pollution and coral reefs in the Solmon Island...

Read more »

Informing priors for a time-series models to detect declines in tiger sharks

September 21, 2019
By
Informing priors for a time-series models to detect declines in tiger sharks

Informing priors for a time-series models to detect declines in tiger sharks Our new research has revealed a 71% decline in tiger sharks across Queensland’s coastline (open-access version). In this blog I will explore the time-series modelling tech...

Read more »

GLM tip getting non-linear with splines

September 20, 2019
By
GLM tip getting non-linear with splines

GLM tips: get non-linear with splines This tip is great for a quick non-linear test, before you go all the way with a GAM or parametric non-linear model. You’ll need the splines library, which comes shipped with R anyway. First, let’s make up a ...

Read more »

R courses February 2020

August 11, 2019
By

R courses February 2020 Our next series of R courses for professionals and graduate students is now open for registration. The courses include 1-day for absolute beginners, 3 days for intermediate material and 3 days for the advanced class. They are r...

Read more »

Diary of becoming a Bayesian

March 17, 2019
By

Diary of becoming a Bayesian Here’s my timeline of going from frequentist stats to becoming a fully fledged Bayesian eco-statistician. 2006 Read the Ecological Detective (Hilborn and Walters), the philosophy makes sense, the history of falsificatio...

Read more »

R course in data wrangling and spatial analysis notes are online

February 22, 2019
By
R course in data wrangling and spatial analysis notes are online

R course in data wrangling and spatial analysis notes are online I have posted the notes to our new R course in data wrangling and spatial analysis notes on this webpage. The course is aimed at biological scientists who have some basic knowledge of R...

Read more »

Generalized Linear Models understanding the link function

October 15, 2018
By
Generalized Linear Models understanding the link function

Generalized Linear Models: understanding the link function Generalized Linear Models (‘GLMs’) are one of the most useful modern statistical tools, because they can be applied to many different types of data. Count, binary ‘yes/no’, and waiting...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)