Creates a 2D representation of the data. Requires a subsample
(sample.indices) and its 2D representation (Ys).
Usage
lamp(X, sample.indices = NULL, Ys = NULL, cp = 1)
Arguments
X
A data frame or matrix.
sample.indices
The indices of data points in X used as subsamples. If
not given, some points from X will be randomly selected and Ys will be generated
by calling forceScheme on them.
Ys
Initial 2D configuration of the data subsamples (will be ignored if
sample.indices is NULL). Scaling the columns to [-0.5, 0.5] is recommended
to avoid scaling problems.