vasupwall.blogg.se

Cran r ternary diagram logarithmic scale
Cran r ternary diagram logarithmic scale














# Intrapolate the value to create the contour plot # Apply this equation to each set of coordinates (2*y + z)/(2*(x+y+z)) -> x1 # Then transform into cartesian coordinates X/tot -> x # First normalize the values of x, y and z SerumProtein Serum Protein compositions of blood samples ShiftOperators Shifts of machine operators simpleMissingSubplot Ternary diagrams SimulatedAmounts Simulated.

#Cran r ternary diagram logarithmic scale how to#

This is probably not the most elegant way to do this but it works (from scratch and without using ternaryplot though: I couldn't figure out how to do it). scale Normalizing datasets by centering and scaling Sediments Proportions of sand, silt and clay in sediments specimens segments.rmult Draws straight lines from point to point. Labs( title= "Ternary Plot and Filled Contour", end: The (corrected) hue in 0,1 at which the viridis. begin: The (corrected) hue in 0,1 at which the viridis colormap begins. alpha: The alpha transparency, a number in 0,1, see argument alpha in hsv. Theme(legend.justification=c(0,1), legend.position=c(0,1)) + Other arguments passed on to discretescale(), continuousscale(), or binnedscale to control name, limits, breaks, labels and so forth. Scale_color_gradient(low="yellow",high="red") + Scale_fill_gradient(low="yellow",high="red") + Geom_density2d(aes(weight=d,color=.level.), SH.I needed to solve a similar problem, which was partially the catalyst for writing a package as an extension to ggplot2, for ternary diagrams.restore: Undo the effect of hydraulic sorting.csv file with continuous (detrital zircon) data radialplot: Visualise point-counting data on a radial plot.provenance: Menu-based interface for 'provenance'.procrustes: Generalised Procrustes Analysis of provenance data.plot.minsorting: Plot inferred grain size distributions.plot.KDEs: Plot one or more kernel density estimates.plot.KDE: Plot a kernel density estimate.plot.INDSCAL: Plot an INDSCAL group configuration and source weights.plot.GPA: Plot a Procrustes configuration.plot.distributional: Plot continuous data as histograms or cumulative age.minsorting: Assess settling equivalence of detrital components.KS.diss: Kolmogorov-Smirnov dissimilarity.KDEs: Generate an object of class 'KDEs'.indscal: Individual Differences Scaling of provenance data.GPA: Generalised Procrustes Analysis of configurations.get.p: Calculate the probability of missing a given population.get.n: Calculate the number of grains required to achieve a desired.get.f: Calculate the largest fraction that is likely to be missed.endmembers: Petrographic end-member compositions.R users interested in ternary and classification diagrams rather than exploratory data analysis should investigate GCDkit (ver 2.3, R 2.7.0 1) by Janousek, Farrow, Erban and Smid. diss: Calculate the dissimilarity matrix between two. However, their use as classification tools is acknowledged where a users data may be compared to data for known rock types and processes, etc.densities: A list of rock and mineral densities.combine: Combine samples of distributional data.central: Calculate central compositions.botev: Compute the optimal kernel bandwidth.as.compositional: create a 'compositional' object.amalgamate: Group components of a composition.














Cran r ternary diagram logarithmic scale