fps_vector | R Documentation |
farthest point sampling (FPS) for a vector
fps_vector(v, n, method = "round")
v |
vector |
n |
sample size |
method |
|
sampled vector
fps_vector(1:10, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.