Description Usage Arguments Value See Also
View source: R/mutator.expansion.R
This is a generalization of the linear projection mutation operator
(see doLinearProjectionMutation
). The parameters a (intercept)
and m (slope) of a linear function a + mx are sampled (see documentation
of doLinearProjectionMutation
for details. All points whose orthogonal distance
to the linear function is below the sampled tube with ε = U[min.eps, max.eps]
are subject to mutation. This is achieved by moving the points away from their orthogonal
projections to distance ε + Exp(λ = 10).
1 | doExpansionMutation(coords, min.eps = 0.1, max.eps = 0.3, ...)
|
coords |
[ |
min.eps |
[ |
max.eps |
[ |
... |
[any] |
[matrix
] Mutated coordinates.
Other mutation operators: doAxisProjectionMutation
,
doClusterMutation
,
doCompressionMutation
,
doExplosionMutation
,
doGridMutation
,
doImplosionMutation
,
doLinearProjectionMutation
,
doNormalMutation
,
doRotationMutation
,
doUniformMutation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.