fps_vector {baizer} | R Documentation |
farthest point sampling (FPS) for a vector
Description
farthest point sampling (FPS) for a vector
Usage
fps_vector(v, n, method = "round")
Arguments
v |
vector |
n |
sample size |
method |
|
Value
sampled vector
Examples
fps_vector(1:10, 4)
[Package baizer version 0.8.0 Index]