Description Usage Arguments Author(s) Examples
Function generates a pairs plot to show the hypothetical distribution of
uniform points that might be generated for achc
.
1 | grid.preview(Y, pts = 500, pt.scale = 0.05, ...)
|
Y |
A matrix or data frame of data |
pts |
The number of points (in all dimensions) |
pt.scale |
The relative distance between points, as a fraction of the expanse of representation of data (by variable). the default, 0.05, means a 5 percent increment along axes. |
... |
other arguments for graphical parameters |
Michael Collyer
1 2 3 4 5 6 | library(RRPP)
data("Pupfish")
P <- prcomp(Pupfish$coords)$x[,1:3] # first 3 PCs
grid.preview(P, pts = 100, pt.scale = 0.1, pch = 19, cex = 0.3, asp = 1)
grid.preview(P, pts = 500, pt.scale = 0.05, pch = 19, cex = 0.3, asp = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.