Description Usage Arguments Examples
Values are rounded at random, with probabilities determined by how close they are to the integers either side. This may be useful for interesting colour dithering in images.
1 | fuzzyround(x)
|
x |
a numeric vector or matrix. |
1 2 | x = seq(0,20,length.out=200); plot(x, fuzzyround(x))
image(fuzzyround(toeplitz(seq(5,1,length.out=200))), col=heat.colours())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.