Description Usage Arguments Value Note
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.
1 2 3 4 5 6 7 8 9 | 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)
|
n |
[ |
lower |
[ |
upper |
[ |
method |
[ |
x.mean |
[ |
x.sd |
[ |
y.mean |
[ |
y.sd |
[ |
[list
] List with components:
matrix(n, 2)
]Matrix of node coordinates.
character(1)
]String description of the generator used.
These functions are not meant to be called directly. Instead, they need
to be assigned to the generator
argument of addNodes
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.