Dusty & Rusty (?) – The kaleidoscope of previous work utilising R

This page is a colourful collection of tools or bare scripts I created for more or less scientific purpose. Perhaps some of them might be of use for someone. At least they show the evolution of my way of using R from the beginning.

Creating plots from website logfiles

Autumn 2016 – For my website I display site usage statistics as a couple of R-plots. The following R-file contains the code for reading the logfile and create plots: make_report.R

Reading laser distrometer data to R

Summer 2016 – During investigations of the seismic signature of precipitation it became necessary to import the output of a Thies Clima V2.5 STD laser distrometer (a device that scans droplets falling through a laser beam band and records diameter and velocity of each droplet) to R. If you have questions about the instrument please ask Florial Wilken, who runs the device in Northeastern Germany. The following R-file contains the code for the import function: read_distrometer.R

Import tcx GPS data to R

Summer 2014 – When I got my GPS watch I did not want to surrender to Garmins rediculous data policy and wrote a function to import GPS data in the tcx-format to R for further analysis. By the way, it was a hopeless trial to get me using the watch continuously. However, the code worked fine: read_tcx.R

Circular analysis of stone pavement patterns

Summer 2010 – During my PhD I analysed the azimutal orientation patters of rock fragments organised in stone pavements in deserts (corresponding article). For this I developed an R-script that calculates the azimut angles of the digitised a-axis of rocks. This is my very first R-script used for academic work. I am sure there is a rich body of bugs and violations of my current style of writing in this script: orientation_analysis.R. I even found an old documentation file of what I did, perhaps one of my earliest (though fine for this period) sound attempts to work with R: read_tcx.R