Description Usage Arguments Details Value
View source: R/spaceFillingMaxiMin.R
spaceFillingMaximin
is a utility function used by constructSpaceFillingDesign
. It is also fully compatible with optimiseSSNDesign
. It is a utility function that maximises the minimum interpoint distance between a set of design points.
1 2 | spaceFillingMaxiMin(ssn, glmssn, design.points, prior.parameters, n.draws,
extra.arguments)
|
ssn |
Ignored in this function but this argument is present so this function is consistent with all other utility functions. |
glmssn |
Ignored in this function but this argument is present so this function is consistent with all other utility functions. |
design.points |
A vector of pids corresponding to a set of observed sites in the obspoints slot of the SpatialStreamNetwork object. |
prior.parameters |
Ignored in this function but this argument is present so this function is consistent with all other utility functions. |
n.draws |
Ignored in this function but this argument is present so this function is consistent with all other utility functions. |
extra.arguments |
A list of extra parameters that control the behaviour of the utility function. The distance matrices required to compute covariance matrices are also stored in this list. Note that these are generated inside |
spaceFillingMaximin
is deterministic and will ignore the arguments prior.parameters
and n.draws
. It is expected to be very fast, unless there are several hundred design points to select.
For examples, please see constructSpaceFillingDesign
.
The expected utility of a design. This number represents the smallest non-zero distance between any pair of sites in the design.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.