spatstat (version 1.15-4)

union.quad: Union of Data and Dummy Points

Description

Combines the data and dummy points of a quadrature scheme into a single point pattern.

Usage

union.quad(Q)

Arguments

Q
A quadrature scheme (an object of class "quad").

Value

  • A point pattern (of class "ppp").

Details

The argument Q should be a quadrature scheme (an object of class "quad", see quad.object for details). This function combines the data and dummy points of Q into a single point pattern. If either the data or the dummy points are marked, the result is a marked point pattern.

The function as.ppp will perform the same task.

See Also

quad.object, as.ppp

Examples

Run this code
data(simdat)
  Q <- quadscheme(simdat, default.dummy(simdat))
  U <- union.quad(Q)
  plot(U)
  # equivalent:
  U <- as.ppp(Q)

Run the code above in your browser using DataCamp Workspace