spiderByGroupPatterns {GCDkit} | R Documentation |
Plots a series of spiderplots, for each group one, in which individual patterns are shown.
spiderByGroupPatterns(rock = WR, norm = NULL, bw = FALSE, ymin = 0, ymax = 0, xrotate = FALSE, offset = TRUE, centered = FALSE)
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? |
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.
Returns a list 'results
' with the normalized values, and, in case of REE, some extra parameters.
Vojtech Janousek, vojtech.janousek@geology.cz
For the syntax of the setup file with normalizing values and adding new
normalization schemes see selectNorm
. This function is based on
spider
.
# 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)