Articles by Bluecology blog

Time sinks for data wrangling

April 30, 2020 | 0 Comments

Time sinks for data wrangling Estimating the time it will take to complete a project is an important part of being a successful PhD student, researcher or consultant. A major time sink on many analytical projects is data wrangling. Often the wranglin... [Read more...]

How much has the data informed your isotope mixing model

April 24, 2020 | 0 Comments

How much has the data informed your isotope mixing model? The contributions of different food sources to animal diets is often a mystery. Isotopes provide a means to estimate those contributions, because different food sources often have different iso... [Read more...]

A case against pipes in R and what to do instead

April 20, 2020 | 0 Comments

A case against pipes in R and what to do instead Pipes (%__%) are great for improving readibility of lengthy data processing scripts, but I’m beggining to learn they have some weaknesses when it comes to large and complex data processing. We are ... [Read more...]

Spatial predictions with GAMs and rasters

February 18, 2020 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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 ... [Read more...]

GLM tip getting non-linear with splines

September 20, 2019 | 0 Comments

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 | 0 Comments

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 | 0 Comments

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...]

Generalized Linear Models understanding the link function

October 15, 2018 | 0 Comments

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...]

A brief guide to data visuals in R in 2018

July 3, 2018 | 0 Comments

Data visuals 2018 Supplementary notes for CJ Brown’s talks on dataviz in 2018 for Griffith University’s honours students and the UQ Winterschool in Bioinformatics. These notes run through some of the principles I present and also show R code for generating data visuals. If you want to take the dataviz ... [Read more...]

How do I interpret the AIC

April 12, 2018 | 0 Comments

How do I interpret the AIC? My student asked today how to interpret the AIC (Akaike’s Information Criteria) statistic for model selection. We ended up bashing out some R code to demonstrate how to calculate the AIC for a simple GLM (general linear model). I always think if you ... [Read more...]

Should I learn sf or sp for spatial R programming

March 22, 2018 | 0 Comments

Should I learn sf or sp for spatial R programming? I recently received an email about some of the short-courses on my webpage. The correspondant was asked whether my course on Maps and GIS in R was still relevant, it being written in 2014. The R env... [Read more...]

General Linear Models The Basics

January 18, 2018 | 0 Comments

General Linear Models: The Basics General linear models are one of the most widely used statistical tool in the biological sciences. This may be because they are so flexible and they can address many different problems, that they provide useful output... [Read more...]
1 2 3

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)