Publications by Bluecology blog

A comparison of terra and stars packages

31.05.2021

Comparison of terra and stars packages The other day I wrote a comparison of raster and terra packages. The other newish raster package on the block is stars. So I go through the same code here. If you are starting out with stars, read their manual first. But first some key differences. stars is set-up to work with spatio-temporal arrays (terra a...

2761 sym R (1430 sym/5 pcs) 6 img

Current approaches to Species Distribution Modelling in R

21.09.2021

Current approaches to Species Distribution Modelling in R My course notes for “Current approaches to Species Distribution Modelling in R “ for World Fisheries Congress 2021 are now free online. The course covers tidyverse and sf workflows for models, a beginners intro to modelling options and how to make spatial predictions. There’s also bo...

826 sym

Running R code for all combinations of some parameters with lapply karate

30.09.2021

Running R code for all combinations of some parameters with lapply karate Sometimes we want to run the same bit of code many times for different parameters. Then if we have multiple parameters, we may want to run the code for all combinations of those parameters. I use what I call ‘lapply karate’ to perform this task. Applications include in ...

4913 sym R (3170 sym/12 pcs) 10 img

Rules of thumb for the design of ecological experiments

06.12.2021

Rules of thumb for the design of ecological experiments Are you planning an experiment in the lab or field, or an observational study? Its a good idea to talk to a statistician before you start. Students often ask me for help with statistics after they’ve collected their data. However, it’s common they need help with statistics because of iss...

11080 sym R (1272 sym/2 pcs) 4 img