spiderByGroupFields {GCDkit} | R Documentation |
Plots a series of spiderplots, for each group one, outlining the overall distribution as a field.
spiderByGroupFields(rock = WR, norm = NULL, bw = FALSE, fill = 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? |
fill |
logical; should be the fields filled by solid colour (and not hatched)? |
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? |
The parameter 'norm' is an optional search pattern to
query the available normalizing model names. It can contain a
substring or even a regular expression. For choosing the correct
normalization values serves the auxiliary function
selectNorm
.The function fails
if no matches are found or the search is ambiguous.
See selectNorm
for details.
A series of spiderplots is plotted, for each group one, in which the whole variation range is outlined as filled/cross-hatched fields.
None.
Vojtech Janousek, vojtech.janousek@geology.cz; Vojtech Erban, vojtech.erban@geology.cz, contributed the algorithm hatching closed polygons
For the syntax of the setup file with normalizing values and adding new
normalization schemes see selectNorm
. This function is based on
spider
.
## Not run: data<-loadData("sazava.data",sep="\t") groupsByLabel("Intrusion") spiderByGroupFields(norm="Boynton",ymin=1,ymax=1000) spiderByGroupFields(norm="Boynton",bw=TRUE,ymin=1,ymax=1000,xrotate=TRUE,offset=FALSE) spiderByGroupFields(norm="Boynton",fill=TRUE,ymin=1,ymax=1000) ## End(Not run)