Create a maximin sample from a collection of valid points
maximin_sample(points, n, reps = 1000, nms)A data.frame containing the maximin subset.
The candidate points to select from.
The number of points desired in the final selection.
The number of subselections to make before returning a choice
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.