Learn R Programming

PtProcess (version 3.3-16)

plot: Plot Point Process Ground Intensity Function

Description

Provides methods for the generic function plot.

Usage

# S3 method for mpp
plot(x, log=FALSE, ...)
# S3 method for linksrm
plot(x, region, log=FALSE, ...)

Arguments

x

an object with class "mpp" or "linksrm".

region

scalar, specifies the required region.

log

plot \(\log \lambda_g(t|{\cal H}_t)\), default is FALSE.

other arguments.

Examples

Run this code
# NOT RUN {
data(Ogata)

p <- c(0.02, 70.77, 0.47, 0.002, 1.25)
TT <- c(0, 800)
bvalue <- 1

#   Note that the plot function does not utilise the
#   information about mark distributions, hence these
#   arguments can be NULL

x <- mpp(data=Ogata,
         gif=etas_gif,
         marks=list(NULL, NULL),
         params=p,
         gmap=expression(params[1:5]),
         mmap=NULL,
         TT=TT)

plot(x, log=TRUE)
# }

Run the code above in your browser using DataLab