CRAN release ‘Luminescence’ v0.9.22

- rainy summer cat -

by RLum.Network (August 7, 2023)

Just before the summer break, today we released another version of 'Luminescence' (v0.9.22) shipping the latest bug fixes and improvements via CRAN. Many of the bugfixes concern edge cases and the errors addressed were probably noticed only by very few users, if at all.

Still, a single new function might be worth highlighting: subset_SingleGrainData(). As the name implies, it enables sub-setting of single grain data such as usually recorded with
Risø TL/OSL single grain systems. Subsetting was already possible before with subset(), but sometimes users want to use position/grain pairs to select data, for instance, provided with a simple data.frame (e.g., something imported from MS Excel\(^{TM\)}). subset_SingleGrainData() supports to extraction.

## load package example data
data(ExampleData.BINfileData, envir = environment())

## set POSITION/GRAIN pair dataset
selection <- data.frame(POSITION = c(1,5,7), GRAIN = c(0,0,0))

##subset
subset_SingleGrainData(object = CWOSL.SAR.Data, selection = selection)
## 
## [Risoe.BINfileData object]
## 
## 	BIN/BINX version      03
## 	Object date:          060920, 070920, 080920, 090920, 100920
## 	User:                 Default
## 	System ID:            0 (unknown)
## 	Overall records:      90
## 	Records type:         IRSL	(n = 3)
## 	                      OSL	(n = 42)
## 	                      TL	(n = 45)
## 	Position range:       1 : 7
## 	Grain range:          0 : 0
## 	Run range:            1 : 8
## 	Set range:            2 : 6

In the example, after the subsetting, the data is limited to three position/grain pairs.

For a complete list of changes, please see our GitHub page.

Stay safe!

Your R Luminescence Team