Description Usage Arguments Details Value Author(s) See Also Examples
This function jitters grid values by a proportion of the regular distance between consecutive gridpoints and then alters it to lie in [0,1].
1 | modjitter(x, amount)
|
x |
a vector to be jittered (e.g. a gridpoint vector). |
amount |
a value of how much to jitter the vector (expressed as a proportion of the regular gridpoint distance, d). |
The function uses dojitter to jitter the gridpoint vector by (amount*d
) . The endpoints are fixed to be zero and one, and the corresponding jx values to x[2]
and x[length(x)-1]
are randomised again in the intervals [0,x[2]+amount*d]
and [x[length(x)-1]-amount*d,1]
respectively.
jx |
the jittered version of x |
Matt Nunes (nunesrpackages@gmail.com), Marina Knight
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.