union.quad: Union of Data and Dummy Points

View source: R/quadclass.R

union.quadR Documentation

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").

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.

Value

A point pattern (of class "ppp").

Author(s)

\adrian

and \rolf

See Also

quad.object, as.ppp

Examples

  Q <- quadscheme(simdat, default.dummy(simdat))
  U <- union.quad(Q)
  # plot(U)

  # equivalent:
  U <- as.ppp(Q)

spatstat.geom documentation built on Sept. 18, 2024, 9:08 a.m.