spiderByGroupPatterns {GCDkit}R Documentation

Spider plot(s) - by group patterns

Description

Plots a series of spiderplots, for each group one, in which individual patterns are shown.

Usage

    spiderByGroupPatterns(rock = WR, norm = NULL, bw = FALSE,
    ymin = 0, ymax = 0, xrotate = FALSE, offset = TRUE, centered = FALSE)

Arguments

rock

a numeric matrix; the whole-rock data from which will be filtered out those to be normalized.

norm

a character string specifying the model.

bw

logical; should be the plot black and white?

ymin, ymax

y range of the diagram.

xrotate

logical; shall be the element names on x axis rotated?

offset

logical; shall be the names for odd and even elements shifted relative to each other?

centered

logical; shall be the element names on x axis plotted in between tick marks?

Details

Firstly, the normalization scheme is chosen and scaling for all the plots specified. Then, a series of spiderplots is plotted, for each group one, in which patterns for individual samples are shown.

Value

Returns a list 'results' with the normalized values, and, in case of REE, some extra parameters.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

See Also

For the syntax of the setup file with normalizing values and adding new normalization schemes see selectNorm. This function is based on spider.

Examples

    # Get the data ready
    data(sazava)
    accessVar("sazava")
    groupsByLabel("Intrusion")
    
    #Plot
    spiderByGroupPatterns(norm="Boynton",ymin=1,ymax=1000)
    spiderByGroupPatterns(norm="Boynton",bw=TRUE,ymin=1,ymax=1000,xrotate=TRUE,offset=FALSE)

[Package GCDkit version 4.0 Index]