maximin_sample | R Documentation |
Create a maximin sample from a collection of valid points
maximin_sample(points, n, reps = 1000, nms)
points |
The candidate points to select from. |
n |
The number of points desired in the final selection. |
reps |
The number of subselections to make before returning a choice |
nms |
The names of the inputs parameters of the points. |
The point proposal methods in generate_new_design
can have some
undesirable properties; particularly over-representation of the boundary of
the non-implausible space. This function attempts to find an 'optimal' space-
filling design, using the maximin criteria. A subset of the candidate points
are selected and the minimum distance between any pair of points is selected;
the subset of points which maximises this measure is returned.
A data.frame containing the maximin subset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.