spatstat (version 1.59-0)

harmonise.msr: Make Measures Compatible

Description

Convert several measures to a common quadrature scheme

Usage

# S3 method for msr
harmonise(…)

Arguments

Any number of measures (objects of class "msr").

Value

A list, of length equal to the number of arguments , whose entries are measures.

Details

This function makes any number of measures compatible, by converting them all to a common quadrature scheme.

The command harmonise is generic. This is the method for objects of class "msr".

See Also

harmonise, msr

Examples

Run this code
# NOT RUN {
  fit1 <- ppm(cells ~ x)
  fit2 <- ppm(rpoispp(ex=cells) ~ x)
  m1 <- residuals(fit1)
  m2 <- residuals(fit2)
  harmonise(m1, m2)
  s1 <- residuals(fit1, type="score")
  s2 <- residuals(fit2, type="score")
  harmonise(s1, s2)
# }

Run the code above in your browser using DataCamp Workspace