add.hotspot | R Documentation |
Uses a Gaussian decay around a central location to add a hotspot to the density grid.
add.hotspot(object, centre, sigma, amplitude)
## S4 method for signature 'Density'
add.hotspot(object, centre, sigma, amplitude)
object |
a |
centre |
an x,y-coordinate giving the centre of the hotspot |
sigma |
a value giving the scale parameter for a gaussian decay |
amplitude |
the height of the hotspot at its centre |
the updated Density-class
object
make.density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.