plot.palm: Plotting an estimated Palm intensity function.

View source: R/methods.r

plot.palmR Documentation

Plotting an estimated Palm intensity function.

Description

Plots a fitted Palm intensity function from an object returned by fit.ns.

Usage

## S3 method for class 'palm'
plot(x, xlim = NULL, ylim = NULL, show.empirical = TRUE, breaks = 50, ...)

Arguments

x

A fitted model from fit.ns.

xlim

Numeric vector giving the x-coordinate range.

ylim

Numeric vector giving the y-coordinate range.

show.empirical

Logical, if TRUE the empirical Palm intensity is also plotted.

breaks

The number of breakpoints between cells for the empirical Palm intensity.

...

Other parameters (for S3 generic compatibility).

Examples

## Fit model.
fit <- fit.ns(example.2D, lims = rbind(c(0, 1), c(0, 1)), R = 0.5)
## Plot fitted Palm intensity.
plot(fit)


b-steve/palm documentation built on Sept. 22, 2023, 9:27 a.m.