# Uncategorized

## Animated plot in R

An animation of how a Gaussian fitness function changes with increasing w (width of the fitness function, which indicates the strength of stabilizing selection)

## Interpolation of discrete data in QGIS

My goal today was to create a map of the islands of Guadeloupe and Marie-Galant with data observed for 278 points and with interpolation between all points to create a continuous map. I will follow this tutorial: http://www.qgistutorials.com/en/docs/interpolating_point_data.html Get the…

## stiffness and ordinary differential equation solving

I recently resumed a dormant project, an eco-evolutionary dynamics simulation model. The model tracks biomass over time for multiple mutants and multiple species. Unsurprisingly, things broke down when I asked MATLAB to solve a series of ordinary differential equations for each morph:…

## Well put Mathematica Documentation. Well put.

I couldn’t say it any simpler than this: Break[ ] exits the nearest enclosing Do, For, or While. Of course, terms like Do, For, and While have reserved places in my internal memory, so perhaps my grandmother (who any of…

## Calculating the spatial gradient for georeferenced trait values

I plan to calculate the spatial gradient of Daphnia magna traits for 20 sample sites in Belgium. The spatial gradient is inspired by Loarie et al. 2009’s The velocity of climate change. Loarie et al. (2009) simply describe their calculation of…

## “In the automobile industry, a discontinuous second derivative is known as a dent”

The above quote comes from a read I thoroughly enjoyed, a blog post by Cleve Moler at MATLAB Central on Splines and Pchips, wherein he discusses “MATLAB has two different functions for piecewise cubic interpolation, spline and pchip. Why are…

## Small things add to big results at CERN

I’m feeling dramatically inspired after my visit to CERN in Geneva. The spirit of camaraderie and shared futures must’ve been high in postwar Europe to inspire creation of CERN as a world-class facility designed to bring European science back from…

## R Graph Compendium

Eric-Jan Wagenmakers and Quentin Gronau (University of Amsterdam, Department of Psychology) have put together a collection of code to produce standardized and excellent figures in R, the RGraphCompendium. http://shinyapps.org/apps/RGraphCompendium/index.php (discovered here) Examples include:

## coin flips

Whenever we are discussing coin flips, keep in mind that we could be talking about some domain in which you are actually interested! -John K. Kruschke, Doing Bayesian Data Analysis Nice of him to address the typically unaddressed elephant in…

## “Big Data is a big bag of numerators without denominators”

This post at StatsBlogs (re-printed from Big Data Plainly Spoken) had a few eye-catching points. The blogger (Kaiser Fung of Junk Charts) attended an event put on by UNICEF’s Data and Analytics Section. One Eye-Catching Point: We don’t need Big Data. We…