sphereN {calibrar} | R Documentation |
Sphere function with random noise
Description
This function calculates the Euclidian distance from a point to the origin after a random displacement of its position.
Usage
sphereN(x, sd = 0.1, aggregate = TRUE)
Arguments
x |
The coordinates of the point |
sd |
The standard deviation of the noise
to be added to the position of |
aggregate |
If |
Value
The distance from the point x
to the origin after a random
displacement.
Author(s)
Ricardo Oliveros–Ramos
Examples
sphereN(rep(0, 10))
[Package calibrar version 0.9.0 Index]