plot.intensity_surface: Plots a normal mixture intensity in 3d

Description Usage Arguments Author(s) See Also Examples

View source: R/normmix_plots.R

Description

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

Usage

1
2
3
4
## S3 method for class 'intensity_surface'
plot(x, truncate = TRUE, L = 256, zlims = c(0,
  0), main = "Poisson intensity surface (mixture of normal components)",
  grayscale = FALSE, ...)

Arguments

x

Object of class intensity_surface or normmix.

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 to_int_surf().

Author(s)

Jiaxun Chen, Sakis Micheas, Yuchen Wang

See Also

normmix, to_int_surf

Examples

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)")

sppmix documentation built on Jan. 13, 2021, 10:04 p.m.