Tag Archive: R

Tapply on steroids – by (climate trends in Scottish seasons)

A while back I wrote a post on using the R tool tapply, which is my most popular post. Tapply allows you to repeat a function over a vector split into groups, e.g.… Continue reading

Rare snowmelt estimation (GB)

I read Hough and Hollis’ 1997 paper recently which uses Met Office synoptic stations to estimate a magnitude – recurrence relationship for snowmelt in the UK. i.e. how often do we get how… Continue reading

Cairngorms snow cover, 1954-1984

Neil Reid wrote a post this week about news from the Mar Lodge estate. On it he mentions the future of Derry Lodge. I’ve never been to Derry Lodge so seeing a photograph… Continue reading

Warm October, cold winter?

A tweet flashed by a couple of days ago hoping that a warm October might indicate a cold winter: It’s a straightforward enough hypothesis, although one I think we all can agree seems… Continue reading

Scottish winter weather

Following on from my previous post about September weather, it seems appropriate (for my research and blog) to look at winter weather specifically for Scotland. This post again uses Met Office data. I… Continue reading

Is UK September weather improving?

A friend called me this week to ask about a news story he’d heard on the radio. He’d been listening to a caller say that this warm September in the UK was really… Continue reading

Electronic organisation of projects

I’ve been working on a number of different small projects recently, consequently I have been improving my file management. When I’m setting up a new project/thesis chapter/paper/etc. I’ve been trying to do it… Continue reading

MODIS: the many rastered beast, a how to guide

I’ve finally bitten the bullet and brought my data sources up to 2014 using snow cover data from the MODIS project. MODIS flies on two satellites, Aqua and Terra with the latter being… Continue reading

Writing to a database (R and SQLite)

Some time ago I wrote a post on preparing data for a database. Since then I’ve not been idle, just busy not writing for my blog! This article is a follow up and… Continue reading

How to write functions and use lists in R

R is a programming language used for data analysis, statistics and graphics production. If you’ve not come across it before this video will give you some background: OK, OK, it couldn’t be much… Continue reading