data_Feldspar | R Documentation |
Data relating to Elkins and Groves Feldspar Data, the following datasets include
the experimental data and sample raster data from one of the images in the
referenced paper.
Feldspar
- Experimental Data
FeldsparRaster
- Raster Data for Fig. 6.
#Experimental Data
data(Feldspar)
#Raster data
data(FeldsparRaster)
Feldsdpar
- One (1) row per Feldspar composition, FeldsdparRaster
- Raster Matrix
Nicholas Hamilton
Elkins, L. T. & Grove, T. L. Ternary Feldspar Experiments and Thermodynamic Models American Mineralogist, Mineral Soc America, 1990, 75, 544-559
Data
#Summarize the Feldspar Data
data(Feldspar)
summary(Feldspar)
#Plot Felspar Data
ggtern(data=Feldspar,aes(x=An,y=Ab,z=Or)) +
geom_point()
# Plot Feldspar data and Underlying Raster Image
data(FeldsparRaster)
ggtern(Feldspar,aes(Ab,An,Or)) +
theme_rgbw() +
annotation_raster_tern(FeldsparRaster,xmin=0,xmax=1,ymin=0,ymax=1) +
geom_point(size=5,aes(shape=Feldspar,fill=Feldspar),color='black') +
scale_shape_manual(values=c(21,24)) +
labs(title = "Demonstration of Raster Annotation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.