Description Usage Arguments Details Note Author(s) References See Also Examples
Displays the 2-d projection saved from gx.2dproj
, optionally the row numbers of the input matrix or the row identifiers, if available, may be displayed instead of the default plotting symbol.
1 |
save |
the saved object from |
rowids |
to display the input matrix row numbers set |
main |
an alternative plot title to that in the saved object from |
pch |
by default a ‘+’, |
cex |
by default symbols and characters are plotted at |
col |
by default symbols and charcaters are plotted in black, |
... |
further arguments to be passed to methods concerning the plot. For example, if it is required to make the plot title smaller, add |
If main
is undefined the plot title from the saved object from gx.2dproj
is displayed. If no plot title is required set main = " "
, or if a user defined plot title is required it should be defined in main
, e.g., main = "Plot Title Text"
.
The x- and y-axis labels are those in the saved object from gx.2dproj
and indicate the type of 2-d projection in the display.
The available symbols are:
pch: 0 = square, 1 = circle, 2 = triangle, 3 = plus, 4 = X,
5 = diamond, 6 = upside-down triangle, 7 = square with X,
8 = asterisk, 9 = diamond with plus, 10 = circle with plus,
11 = double triangles, 12 = square with plus,
13 = circle with X, 14 = square with upside-down triangle.
Symbols 15 to 18 are solid in the colour specified:
15 = square, 16 = circle, 17 = triangle, 18 = diamond.
The available colours from the default ‘palette’ are:
Col: 0 = none, 1 = black, 2 = red, 3 = green, 4 = dark blue,
5 = turquoise, 6 = pink, 7 = yellow, 8 = grey, 9 = black.
Robert G. Garrett
Reimann, C., Filzmoser, P., Garrett, R. and Dutter, R., 2008. Statistical Data Analysis Explained: Applied Environmental Statistics with R. John Wiley & Sons, Ltd., 362 p.
Venables, W.N. and Ripley, B.D., 2001. Modern Applied Statistics with S-Plus, 3rd Edition, Springer, 501 p.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Make test data available
data(sind.mat2open)
## Display default 2-d projection
sind.save <- gx.2dproj(sind.mat2open, ifilr = TRUE)
## Display saved object with more informative title
gx.2dproj.plot(sind.save,
main = "Howarth & Sinding-Larsen\nStream Sediments, ilr Transformed Data")
## Display saved object with row identifiers in a smaller blue font
gx.2dproj.plot(sind.save,
main = "Howarth & Sinding-Larsen\nStream Sediments, ilr Transformed Data",
rowids = TRUE, cex = 0.7, col = 4)
## Display 2-d projection after trimming the 3 most extreme samples
sind.2dproj.trim3 <- gx.2dproj(sind.mat2open, ifilr = TRUE, row.omits = c(13,15,16))
gx.2dproj.plot(sind.save,
main = "Howarth & Sinding-Larsen\nStream Sediments, ilr Transformed Data",
rowids = FALSE, cex = 0.7, col = 4)
## Clean-up
rm(sind.save)
rm(sind.2dproj.trim3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.