Description Usage Arguments Author(s) See Also Examples
View source: R/normmix_plots.R
Plot the 3d intensity surface of a Poisson point process with mixture intensity of normal components.
For examples see
http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#plot.intensity_surface
1 2 3 4 |
x |
Object of class |
truncate |
Requests to truncate the components of the mixture intensity to have all their mass within the window of the intensity object intsurf. Default is TRUE. |
L |
Length of the side of the square grid. The intensity is calculated on an L * L grid. The larger this value is, the better the picture resolution. |
zlims |
The limits of the z axis. Defaults to [0,1.1*max(intensity)]. |
main |
Title for the plot. |
grayscale |
Logical flag to request a gray scale plot. |
... |
Additional parameters passed to |
Jiaxun Chen, Sakis Micheas, Yuchen Wang
1 2 3 4 5 6 7 8 | truemix <- rnormmix(m = 5, sig0 = .1, df = 5, xlim= c(-1, 5), ylim =c(2, 5))
intsurf=to_int_surf(truemix, lambda = 200, win =spatstat::owin( c(-1, 5),c(2, 5)))
plot(intsurf,main = "True Poisson intensity surface (mixture of normal components)")
#use the demo intensity surface
demo_intsurf
summary(demo_intsurf)
#3d plot of the intensity surface
plot(demo_intsurf,main = "True Poisson intensity surface (mixture of normal components)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.