plot_MPP_fields: Plot the mark probability fields

Description Usage Arguments Author(s) See Also Examples

Description

The function displays the mark probability fields for each location of a marked point pattern. These fields are simply the probabilities of observing the corresponding mark value at that location.

For examples see

http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#plot_MPP_fields

Usage

1
2
plot_MPP_fields(MPP, gammas, r, discrete_mark = TRUE, grayscale = FALSE,
  truncate = FALSE, open_new_window = FALSE, LL = 128)

Arguments

MPP

A marked point pattern as an object of class ppp.

gammas

For discrete marks (discrete_mark=TRUE), this is a vector of length equal to the number of marks. These parameters should typically be non-negative and they represent weights affecting the probability fields of each mark. For values close to 0, we get higher probabilities of observing this mark. Large positive values lead to small probabilities of observing the corresponding mark.

r

Radius used to define the neighborhood system. Any two locations within this distance are considered neighbors.

discrete_mark

Logical flag indicating whether the mark is discrete or not. Default is TRUE. For continuous marks set this to FALSE.

grayscale

Logical to request plots in grayscale.

truncate

Logical variable indicating to discard points if they are not within the window of observation. Default is FALSE.

open_new_window

Logical requesting a new window for the plot(s).

LL

Length of the side of the square grid. The larger this value is, the better the picture resolution.

Author(s)

Sakis Micheas

See Also

rMIPPP_cond_loc

Examples

1
2
3
4
5
6
newMPP=rMIPPP_cond_loc(gammas=c(.1,.2,.5), r=.5)
plot(newMPP$surf,main="True IPPP intensity surface for the locations")
plot_MPP_fields(newMPP$genMPP,newMPP$gammas,newMPP$r)
plot_MPP_fields(newMPP$genMPP,newMPP$gammas,1)
plot_MPP_fields(newMPP$genMPP,newMPP$gammas,1.5)
plot_MPP_fields(newMPP$genMPP,newMPP$gammas,2)

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