The Rtsne result. Rtsne requires distinct observations,
so duplicated rows of x are removed before fitting; the returned Y (and
costs) are then expanded back to nrow (x) rows, in the order of x, so
that they can be used directly alongside the original dataset -- duplicated observations
simply share the same coordinates.
Arguments
x
A numeric dataset (data.frame or matrix).
perplexity
Specification of the perplexity.
nstart
How many random sets should be chosen? The embedding with the lowest final
cost is kept.