peterplot {GCDkit} | R Documentation |
This function plots a conventional binary diagram but the type and size of the plotting symbols is assigned according to the distribution of a third, conditioning variable.
peterplot(xaxis = "", yaxis = "", zaxis = "", ident = FALSE, scaling.small = labels[1,"Size"], scaling.big = 2 * scaling.small, assign.symbols = FALSE)
xaxis, yaxis |
character; specification of the axes |
zaxis |
character; conditioning variable |
ident |
logical; identify the individual points? |
scaling.small |
scaling factor for the smaller plotting symbols |
scaling.big |
scaling factor for the larger plotting symbols |
assign.symbols |
logical; should be the plotting symbols and their sizes assigned permanently? |
If no parameters xaxis, yaxis
and zaxis
are specified, the user is prompted
to do so interactively.
The plotting symbols are assigned as follows: the values within 25
quartiles) obtain a dot
, the higher ones are denoted by '+
'and lower ones by '-
'.
If the given value is an outlier, its plotting size is doubled.
Optionally, the user can assign the plotting symbols and their sizes permanently, for use in other diagrams throughout the system.
May modify the variable cex
, as well as the codes of plotting symbols stored
in the data frame labels
.
Vojtech Janousek, vojtech.janousek@geology.cz
Reimann C, Filzmoser P, Garrett R G (2002) Factor analysis applied to regional geochemical data: problems and possibilities. Applied Geochemistry 17: 185-206
peterplot("SiO2","MgO","K2O") peterplot("SiO2","MgO","K2O",assign.symbols=TRUE) plotDiagram("TAS",F)