Feeder Cam in the Front Yard

I think I’m capturing molting of an eastern chipmunk in some of these photos: in late spring, male chipmunks molt into their summer coat. Apparently, the molt sequence is the same as that of red squirrel, so I tracked down the old paper describing red squirrel molt to compare notes with the chipmunk photos (Yerger 1955). “The first […]

Continue reading..Feeder Cam in the Front Yard

Bayesian Models with R-INLA

Fitting Bayesian models has gotten even better with the R package INLA. The fact that it’s integrated into R has led to more simplistic scripting, and the approach means much reduced computational time. There is a lot of literature out there about “why and how” the integrated nested Laplace approximation, which is why my treatment of it in this blog […]

Continue reading..Bayesian Models with R-INLA

Getting BBS Data into R

I like to start with a clean slate. Set your working directory to wherever you store your BBS, etc. files that will go into the script. rm(list = ls()) setwd(“”) Here, you need to put the full path to the BBS files. library(data.table) BBS <- rbindlist(lapply(list.files(“”,full.names=TRUE),read.csv)) This following line creates a unique identifier for each […]

Continue reading..Getting BBS Data into R

BBS Data Summarized for 10 Stops

If you want to use the finer-scale BBS data, here’s a tweak to the R code I presented. In this case, you won’t want the SpeciesTotal, country number (perhaps, otherwise add it it to the ID variables) or StopTotal (again, I assume). BBS$countrynum <- NULL BBS$SpeciesTotal <- NULL BBS$StopTotal <- NULL Then, you’re going to […]

Continue reading..BBS Data Summarized for 10 Stops