training | R Documentation |
Major element compositions of 227 island arc basalts (IAB), 221 mid oceanic ridge basalts (MORB) and 198 ocean island basalts (OIB). This dataset can be used to train supervised learning algorithms.
Vermeesch, P. “Tectonic discrimination diagrams revisited.” Geochemistry, Geophysics, Geosystems 7.6 (2006).
library(MASS) data(training,package='geostats') ld <- lda(x=alr(training[,-1]),grouping=training[,1]) pr <- predict(ld) table(training$affinity,pr$class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.