The package provides the infrastructure to automatically generate and evaluate discrimination diagrams.
It uses Delaunay triangulation and intersection area calculation as proposed by Han et al. (2020) to generate and evaluate the discrimination diagrams.
You can install the development version of didigenr from GitHub with:
# install.packages("devtools")
devtools::install_github("abuseki/didigenr")
TODO
Han, Shuai, Mingchao Li, Qi Zhang, and Lingguang Song. 2020. “An Automated Method to Generate and Evaluate Geochemical Tectonic Discrimination Diagrams Based on Topological Theory.” Minerals 10 (1): 62. https://doi.org/10.3390/min10010062.