View source: R/deform_population.R
Deforms population in random way.
1 2 3 | deform.population(data, min.a = 0.8, max.a = 1.2, min.theta = -0.5,
max.theta = 0.5, diff.elements = FALSE, curves = NULL,
split.list = NULL, random.sd = NULL)
|
data |
data array |
min.a |
minimal deformation amount; default = 0.8 |
max.a |
maximum deformation amount; default = 1.2 |
min.theta |
minimal deformation angle; default = -0.5 |
max.theta |
maximum deformation angle; default = 0.5 |
diff.elements |
should elements of single object have slightly diffrent, random deformation; default = FALSE |
curves |
optional curves matrix for creatin elements list; default = NULL |
split.list |
opional list of elements; default = NULL |
random.sd |
optional standard deviation of randomness in element version; default = NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.