Description Usage Arguments Details Value Author(s) See Also Examples
This function adds a random uniform vector of the same length as the input to modify the input.
1 | dojitter(x, amount = 0)
|
x |
a vector to be jittered (e.g. a gridpoint vector). |
amount |
a value of how much to jitter the vector x. |
The function creates length(x)
samples from a uniform[-amount,amount], and adds these to the original vector x. If amount=0, the new vector jx is the same as the original vector.
jx |
the jittered version of x |
Matt Nunes (nunesrpackages@gmail.com), Marina Knight
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.