sample_random | R Documentation |
Random sample
Random sample with minimum exlusion zone ("hard-core process")
Random sample with minimum exlusion zone enforced
Fibonacci coverage of a sphere
sample_random(N) sample_hc(N, exclusion = 0.1, maxiter = 200L, k = 30L) sample_landings(N, exclusion = 0.1) sample_fibonacci(N = 301)
N |
number of points |
exclusion |
minimum distance allowed between points |
maxiter |
maximum number of iterations |
k |
number of extra new points to try at each iteration |
Produces a set of points that covers rather uniformly the unit sphere with N points with a spiral-like pattern based on a Fibonacci sequence
3xN matrix
3xN matrix
3xN matrix
sample_random
: random sample
sample_hc
: random sample with exclusion zone
sample_landings
: random sample with exclusion zone
sample_fibonacci
:
baptiste Auguie
sample_random(10) sample_hc(10) sample_landings(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.