Skip to content

R codes for the book "Luminescence Data Analysis and Modeling Using R" by V. Pagonis- Springer, 2021

License

Notifications You must be signed in to change notification settings

vpagonis/Springer-R-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luminescence (Use R! series)

Data Analysis and simulations using R

You can download all the R codes as a single zipped folder, by clicking on the Zenodo blue box below:

DOI

This repository contains all the R scripts from the book:

Luminescence (Use R!) Data Analysis and simulations using R

by Vasilis Pagonis

Springer, 2021


ABOUT THIS BOOK

The following chart shows the overall organization of the book:

For a detailed Table of Contents and a Listing of the R codes, see the included pdf file:

Table of Contents and List of Codes.pdf


HOW THE R CODES ARE ORGANIZED

The book contains 99 scripts, which are self contained and ready to run. The codes are organized in folders by chapter, and each folder contains the R codes, and a pdf file which shows the expected output from the codes.

For example, Chapter 2 folder contains the file

Chapter 2_Code_outputs_Pagonis_book.pdf

which shows the expected output from the codes in this folder.


DATA FILES USED BY THE R CODES

In addition, the folders may contain some data files (.txt or .asc format). These data files are used by some of the R codes, so they should always be located in the appropriate working directory.

For example, Chapter 2 folder contains the file

lbodata.txt

which is used by some of the codes in Chapter 2.


GENERAL INFORMATION ABOUT THE R CODES

I have kept the number of required external R packages intentionally at a minimum, so that newcomers to R can follow the R codes easily.

All figures in this book were produced using the R scripts in this repository, so that users know immediately what to expect when they run the scripts.

Experienced programmers of R will quickly find out that they can improve the R codes given here, and it is of course possible to make the codes more compact and elegant. However, I chose to provide R codes which are simple and clear, and which can be easily modified for the purposes of the reader, rather than attempting to create compact codes which may be difficult to follow and modify.

Several chapters are dedicated to Monte Carlo (MC) methods, which are used to simulate the luminescence processes during the irradiation, heating and optical stimulation of solids, for a wide variety of materials. Throughout the book, both localized and delocalized transition luminescence models are simulated using the new R-package RLumCarlo.

I hope you will find the scripts useful and that you will enjoy running and modifying the various files. If you find that some script is not clear or has inaccuracies, kindly let me know at [email protected]

Enjoy!

Vasilis Pagonis

Professor of Physics Emeritus

McDaniel College, USA