methods.rho2hat {spatstat}R Documentation

Methods for Intensity Functions of Two Spatial Covariates

Description

These are methods for the class "rho2hat".

Usage

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

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.

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.

Value

NULL.

Author(s)

Adrian Baddeley Adrian.Baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/

See Also

rho2hat

Examples

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

[Package spatstat version 1.38-1 Index]