Description Usage Arguments Value See Also
View source: R/mutator.axisprojection.R
A subset Q \subseteq P (each point selected with independent
probability pm
) is selected. Next, an axis a \in \{1, 2\} and a constant
c \in [0, 1] are sampled. Finally, the mutator sets p_a = c for all p \in Q,
i.e., a projection on the constant vertical or horizontal line is performed.
Optionally, with probability p.jitter
all projected points are subject to
Gaussian noise with standard deviation jitter.sd
with respect to the a-th
coordinate: p_a = p_a + N(0, jitter.sd).
1 2 | doAxisProjectionMutation(coords, pm = 0.1, p.jitter = 0,
jitter.sd = 0.1, ...)
|
coords |
[ |
pm |
[ |
p.jitter |
[ |
jitter.sd |
[ |
... |
[any] |
[matrix
] Mutated coordinates.
Other mutation operators: doClusterMutation
,
doCompressionMutation
,
doExpansionMutation
,
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.