-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
executable file
·124 lines (88 loc) · 4.9 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
---
output: github_document
header-includes:
- \usepackage{amsmath}
- \usepackage{amssymb}
---
<!-- README.md was auto-generated by README.Rmd. Please DO NOT edit by hand!-->
```{r, echo = FALSE, message=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
library(RLumModel)
```
# RLumModel <img width=120px src="man/figures/RLumModel_logo.svg" align="right" />
[![DOI](https://zenodo.org/badge/47547833.svg)](https://zenodo.org/badge/latestdoi/47547833)
[![CRAN](https://www.r-pkg.org/badges/version/RLumModel)](https://CRAN.R-project.org/package=RLumModel )
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/RLumModel)](https://www.r-pkg.org/pkg/RLumModel)
[![Downloads](https://cranlogs.r-pkg.org/badges/RLumModel)](https://www.r-pkg.org/pkg/RLumModel)
[![Downloads](https://cranlogs.r-pkg.org/badges/last-week/RLumModel)](https://www.r-pkg.org/pkg/RLumModel)
[![Downloads](https://cranlogs.r-pkg.org/badges/last-day/RLumModel)](https://www.r-pkg.org/pkg/RLumModel)
[![R-CMD-check](https://github.com/R-Lum/RLumModel/workflows/GitHub Actions CI/badge.svg)](https://github.com/R-Lum/RLumModel/actions)
[![Build status](https://ci.appveyor.com/api/projects/status/42umfq97ifr021mk/branch/master?svg=true)](https://ci.appveyor.com/project/RLumSK/rlummodel/branch/master)
[![Coverage Status](https://img.shields.io/codecov/c/github/R-Lum/RLumModel.svg)](https://codecov.io/github/R-Lum/RLumModel?branch=master)
The **R** package `'RLumModel'` by Johannes Friedrich (University of Bayreuth, Germany),
Sebastian Kreutzer (Geography & Earth Sciences, Aberystwyth University, United Kingdom) and Christoph Schmidt
(University of Lausanne, Switzerland)
provides a collection of various R functions modelling luminescence signals in quartz and Al<sub>2</sub>O<sub>3</sub>, based on energy-band models.
For an introduction and further details, visit the [RLumModel homepage](https://r-lum.github.io/RLumModel/).
## Installation
### Install the package
To install the stable version from CRAN, simply run the following from an R console:
```{r, eval = FALSE}
install.packages("RLumModel")
```
To install the latest development builds directly from GitHub, run
```{r, eval = FALSE}
if(!require("devtools"))
install.packages("devtools")
devtools::install_github("R-Lum/RLumModel@master")
```
To install a developer build other than 'master', replace the term 'master' in the codeline by the name
of the wanted developer build.
### Requirements
Depending on your OS please download and install one of the following:
* *Windows*: [Rtools](https://cran.r-project.org/bin/windows/Rtools/) (provided by CRAN)
* *macOS*: [Xcode](https://developer.apple.com/xcode/) (provided by Apple)
* *Linux*: [gcc](https://gcc.gnu.org) often comes pre-installed in most distributions. Should [gcc](https://gcc.gnu.org) be not available, however, we kindly refer to the exhaustive collection of installation guides depending on the Linux distribution.
## Using RLumModel
### Simple Example
```{r}
model <- "Bailey2001"
sequence <- list(
IRR = c(20, 10, 1),
TL = c(20, 500, 5))
model.output <- model_LuminescenceSignals(
model = model,
sequence = sequence,
verbose = FALSE
)
```
## Note
**The package comes without any guarantee!**
Please further note that this version is a development version and may change day by day.
For stable branches please visit the package on CRAN.
## License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](https://github.com/R-Lum/RLumModel/blob/master/LICENSE) for more details.
## <span class="glyphicon glyphicon-euro"></span> Funding
The [development of RLumModel](https://github.com/R-Lum/RLumModel)
benefited from the support by various funding bodies:
- The initial work by Johannes Friedrich, Sebastian Kreutzer and
Christoph Schmidt was supported by the DFG (2015–2018, SCHM
3051/4-1, “Modelling quartz luminescence signal dynamics relevant
for dating and dosimetry”, SCHM
3051/4-1)
- The work of Sebastian Kreutzer as package author was
supported by [LabEx LaScArBx (ANR -
n. ANR-10-LABX-52)](https://lascarbx.labex.u-bordeaux.fr) between
2017 and 2019.
- From 2020, Sebastian Kreutzer received funding from the European
Union’s Horizon 2020 research and innovation programme under the
Marie Skłodowska-Curie grant agreement No 844457 (project: CREDit).
## Related projects
* [Luminescence](https://github.com/R-Lum/Luminescence)
* [RLumShiny](https://github.com/tzerk/RLumShiny)
* [RLumCarlo](https://github.com/R-Lum/RLumCarlo)