grid.preview: Preview of Uniform points

Description Usage Arguments Author(s) Examples

View source: R/grid.preview.R

Description

Function generates a pairs plot to show the hypothetical distribution of uniform points that might be generated for achc.

Usage

1
grid.preview(Y, pts = 500, pt.scale = 0.05, ...)

Arguments

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

Author(s)

Michael Collyer

Examples

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)

mlcollyer/ACHC documentation built on May 30, 2020, 10:26 p.m.