plotCompMeans: Plot compositional means

View source: R/GcClusterFunctions.R

plotCompMeansR Documentation

Plot compositional means

Description

Plot the compositional means for the pdfs in the finite mixture model.

Usage

plotCompMeans(simplexModPar, elementOrder, symbolSize = 2, symbolShape = 1,
  yLimits = NULL, isEePlotted = FALSE)

Arguments

simplexModPar

List containing Monte Carlo samples of the selected parameters in the finite mixture model. These parameters (namely, the mean vector, the standard deviation vector, and the correlation matrix for each pdf) are expressed in terms of their equivalent values in the simplex (namely, the compositional mean vector and the variation matrix for each pdf). This list is return by function backTransform, for which the documentation includes a complete description of this container.

elementOrder

Vector specifying the order in which the elements are plotted.

symbolSize

The size of the plotting symbol.

symbolShape

The shape of the plotting symbol.

yLimits

Vector of length 2 specifying the limits of the y-axis. If an element is NA then ggplot computes the corresponding axis limit.

isEePlotted

Logical variable specifying whether the amalgamated concentration "EE", which accounts for all omitted and unmeasured element concentrations, is included in the plot.

Details

The compositional mean is a vector. The Monte Carlo samples of each v ector element are summarized by their median.

Examples

## Not run: 
plotCompMeans( simplexModPar, gcData, elementOrder)

## End(Not run)


USGS-R/GcClust documentation built on April 17, 2023, 8:08 p.m.