View source: R/calibrar-test_functions.R
sphereN | R Documentation |
This function calculates the Euclidian distance from a point to the origin after a random displacement of its position.
sphereN(x, sd = 0.1, aggregate = TRUE)
x |
The coordinates of the point |
sd |
The standard deviation of the noise
to be added to the position of |
aggregate |
If |
The distance from the point x
to the origin after a random
displacement.
Ricardo Oliveros–Ramos
sphereN(rep(0, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.