Description Usage Arguments Examples

View source: R/gaussian_noise.R

Take a numeric and add to it a normally distributed random number.

1 | ```
gaussian_noise(image, mu = 0, variance = 0.01)
``` |

`image` |
A numeric. Should be an element of an array. |

`mu` |
The mean of the normal distribution the random number is sampled from. |

`variance` |
The variance of the normal distribution the random number is sampled from. |

1 2 3 | ```
gaussian_noise(0.8, 1, 0.4)
gaussian_noise(1, variance = 0.25)
gaussian_noise(3)
``` |

rayheberer/imgnoise documentation built on Dec. 5, 2017, 1:34 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.