Preface

This document was written in preparation for an internal workshop of the Cologne Luminescence Laboratory (CLL). The main objective of this workshop was the introduction to the R package Luminescence (Kreutzer et al. 2012), to provide basic answers to commonly encountered problems in R and to give an impression on how the package can be leveraged to analyse luminescence data by using an exemplary data set. In contrast, this document is not intended to be an exhaustive guide on all the many included functions in the package. Neither is it a reference book to be used when facing a particular problem when working with the Luminescence, even though it may provide the correct answer at least implicitly.

The code in this document requires at least basic knowledge of R. There is a vast amount of commercially and freely available material to learn the basics of R. If you do not know what the <- operator does or what the differences between a data.frame, matrix or list are, it is highly recommended to catch up on the basics first before reading this document.

The intended outcome of this document is to achieve a basic understanding of data analyses with the Luminescence package. To facilitate this goal the document is structured in a (hopefully) relatable order, starting with importing raw measurement data to R and ending with calculating an age with DRAC (Durcan et al. 2015). The individual sections build on each other and should thus be read in correct order from start to finish. This is except for the last section on scripting, where code blocks are self-contained and do not rely on any previous code.