Functions for the placement of nodes / node coordinates in the
Euclidean plane. Function addNodesLHS generates a space-filling
Latin-Hypercube-Sample (LHS), function addNodesUniform samples points from a
bivariate uniform distribution, addNodesGrid generates a regular
grid/lattice of points, addNodesTriangular generates a regular triangular
grid/lattice and addNodesNormal generates nodes on basis of a normal
distribution.
addNodesLHS(n, lower = 0, upper = 1, method = NULL)addNodesUniform(n, lower, upper)
addNodesTriangular(n, lower, upper)
addNodesGrid(n, lower, upper)
addNodesNormal(n, lower, upper, x.mean, x.sd, y.mean, y.sd)
[integer(1)]
Number of nodes to generate.
[numeric(2)]
Minimal values for the first and second node coordinates respectively.
Default is 0 for both dimensions.
[numeric(2)]
Maximal values for the first and second node coordinates respectively.
Default is 1 for both dimensions.
[function]
Function from package lhs.
Default is maximinLHS.
Only relevant for addNodesLHS.
[numeric]
Mean value of normal distribution for x-value generation.
Only relevant for addNodesNormal.
[numeric]
Standard deviation of normal distribution for x-value generation.
Only relevant for addNodesNormal.
[numeric]
Mean value of normal distribution for y-value generation.
Only relevant for addNodesNormal.
[numeric]
Standard deviation of normal distribution for y-value generation.
Only relevant for addNodesNormal.
[list] List with components:
matrix(n, 2)]Matrix of node coordinates.
character(1)]String description of the generator used.