downsample | R Documentation |
Weighted downsampling of a point set. If point weights are not provided, they are computed to be proportional to the local density around each point.
downsample(point.set, n = NULL, k = NULL, weights = NULL)
point.set |
a point set |
n |
integer, sample size. |
k |
integer, number of nearest neighbours to consider to estimate local density |
weights |
a vector of probability weights |
a point set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.