Blog Archives

To Sweave, or not to Sweave, that is the question

December 16, 2011
By
To Sweave, or not to Sweave, that is the question

I am about to start writing up the manuscript of my recent biomath seminar (Act 3: Pineda-Krch. 2011. Cycles at the edge of existence: Emergence of quasi-cycles in strongly destabilizedecosystems.). While the slides for the talk were put together using Sweave … Continue reading →

Read more »

The Joy of R: A Feline Guide

November 5, 2011
By
The Joy of R: A Feline Guide

Just because it’s caturday Images by Mario Pineda-Krch (CC BY-NC-SA 3.0) This is from the “Mario’s Entangled Bank” blog ( http://pineda-krch.com ) of Mario Pineda-Krch, a theoretical biologist at the University of Alberta. Filed under: cats, computing, humour, R, Sweave

Read more »

Cycles in finite populations: A reproducible seminar in three acts

November 1, 2011
By
Cycles in finite populations: A reproducible seminar in three acts

For this years Halloween I presented the mathematical biology seminar at the Centre for Mathematical Biology. Here is the title and the abstract… Cycles in finite populations: a reproducible seminar in three acts Many natural populations exhibit cyclic fluctuations. Explaining the underlying … Continue reading →

Read more »

Vanilla C code for the Stochastic Simulation Algorithm

October 24, 2011
By
Vanilla C code for the Stochastic Simulation Algorithm

The Gillespie stochastic simulation algorithm (SSA) is the gold standard for simulating state-based stochastic models. If you are a R buff, a SSA novice and want to get quickly up and running stochastic models (in particular ecological models) that are not … Continue reading →

Read more »

What is R, really?

March 31, 2011
By
What is R, really?

On CRAN, the official web home of all things R it says, R is a free software environment for statistical computing and graphics. Well, that sounds all hunky dory. But let’s take a close look at what this statement really … Continue reading →

Read more »

The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave

January 17, 2011
By
The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave

Just wrapped up the slides for the first version of the The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave which I presented today in our lab. I am making the slides available under a Creative Commons … Continue reading →

Read more »

Top 10 things that suck about Sweave

December 1, 2010
By
Top 10 things that suck about Sweave

People rave about Sweave and the literate programing paradigm and I am guilty as charged. I speak Sweave, I think Sweave, I dream Sweave. As a matter of fact my default mode of operation is Sweave and anything else is an … Continue reading →

Read more »

Computational efficiency of great-circle distance calculations in R

November 28, 2010
By
Computational efficiency of great-circle distance calculations in R

An obvious omission in my previous post on Great-circle distance calculations in R was a lack of discussion on the computational efficiency of the various methods, and in particular comparing different implementations of the same method. One of the comments … Continue reading →

Read more »

Great-circle distance calculations in R

November 23, 2010
By
Great-circle distance calculations in R

Recently I found myself needing to calculate the distance between a large number of longitude and latitude locations. As it turns out, because the earth is a three-dimensional object, you cannot simply pretend that you are in Flatland, albeit some … Continue reading →

Read more »

Making R growl

November 18, 2010
By
Making R growl

Spending the day churning through large data set or doing some heavy-duty number crunching? What is one to do while the computer is running in overdrive? We’ll, for one, you could get a steaming cup of joe and write a … Continue reading →

Read more »