plotWithCircles {GCDkit}R Documentation

xyz plotWithCircles

Description

Plots a binary diagram of two specified variables and the whole dataset or its selection. The size and colours of the plotted circles correspond to the third.

Usage

plotWithCircles(xaxis = "", yaxis = "", zaxis = "",
    colour = "heat.colors", scaling.factor = NULL, 
    bins = NULL, ident = getOption("gcd.ident"))

Arguments

xaxis

Name of the data column to be used as x axis.

yaxis

Name of the data column to be used as y axis.

zaxis

Name of the data column to determine the size/colour of the circles.

colour

colour scheme for the circles.

scaling.factor

a factor determine the size of the circles.

bins

number of intervals for the legend.

ident

Logical: should be the individual samples identified?

Details

If no parameters 'xlab', 'ylab' and 'zlab' are given, the user is prompted to specify them.

The variables are selected using the function 'selectColumnLabel.

In the specification of the apices can be used also arithmetic expressions, see calcCore for the correct syntax.

The samples to be plotted can be selected based on combination of three searching mechanisms (by sample name/label, range or a Boolean condition) - see selectSubset for details.

The legal colour schemes are: '"grays","reds","blues","greens","cyans","violets","yellows","cm.colors", "heat.colors","terrain.colors","topo.colors","rainbow"'.

Value

None.

Warning

This function IS NOT Figaro-compatible.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

& Vojtech Erban, vojtech.erban@geology.cz

Examples

plotWithCircles("SiO2","Na2O+K2O","MgO+FeOt",colour="rainbow")

plotWithCircles("SiO2","MgO","K2O",colour="grays",scaling.factor=0.5,ident=TRUE)

[Package GCDkit version 3.00 Index]