Learn R Programming

spatstat.geom (version 3.3-2)

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)

Value

A point pattern (of class "ppp").

Arguments

Q

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

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net

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
  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 DataLab