View source: R/generate_2d_gaussian.R
generate_2d_gaussian | R Documentation |
Generates a 2D gaussian distribution, with an optional argument to take the gaussian to a user-defined power.
generate_2d_gaussian(
sd = 1,
power = 1,
dim = c(11, 11),
width = 3,
rescale_unity = FALSE
)
sd |
Default |
power |
Default |
dim |
Default |
width |
Default |
rescale_unity |
Default |
if(run_documentation()){
image(generate_2d_gaussian(1,1,31), asp=1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.