pairsCorr {GCDkit}R Documentation

Statistics: Correlation

Description

Plots a matrix of scatterplots in the lower panel and one of other pre-defined panel functions in the upper.

Usage

pairsCorr(elems = major)

pairsMjr()

pairsTrc()

Arguments

elems

list of desired elements

Details

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

Even though a list of major elements is assumed as a default, different variables can be specified by the function 'selectColumnsLabels'.

pairsCorr.png

The upper panels to choose from are:

'panel.corr' Prints correlations, with size proportional to the correlations;
'panel.cov' Prints covariances;
'panel.smooth' Fits smooth trendlines;
'panel.hist' Plots frequency histograms.

Value

None.

Warning

Names of existing numeric data columns and not formulae involving these can be handled at this stage.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

pairsCorr(LILE)

pairsMjr()

pairsTrc()

# user-defined list
my.elems<-c("Rb","Sr","Ba")
pairsCorr(my.elems)

[Package GCDkit version 4.0 Index]