spatstat (version 1.38-0)

methods.rho2hat: Methods for Intensity Functions of Two Spatial Covariates

Description

These are methods for the class "rho2hat".

Usage

## S3 method for class 'rho2hat':
plot(x, \dots, do.points=FALSE)
## S3 method for class 'rho2hat':
print(x, \dots)

Arguments

x
An object of class "rho2hat".
...
Arguments passed to other methods.
do.points
Logical value indicating whether to plot the observed values of the covariates at the data points.

Value

  • NULL.

Details

These functions are methods for the generic commands print and plot for the class "rho2hat".

An object of class "rho2hat" is an estimate of the intensity of a point process, as a function of two given spatial covariates. See rho2hat. The method plot.rho2hat displays the estimated function $\rho$ using plot.fv, and optionally adds a rug plot of the observed values of the covariate.

See Also

rho2hat

Examples

Run this code
data(bei)
  attach(bei.extra)
  r2 <- rho2hat(bei, elev, grad)
  r2
  plot(r2)

Run the code above in your browser using DataCamp Workspace