harmonise.msr: Make Measures Compatible

harmonise.msrR Documentation

Make Measures Compatible

Description

Convert several measures to a common quadrature scheme

Usage

## S3 method for class 'msr'
harmonise(...)

Arguments

...

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

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

Value

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

Author(s)

\spatstatAuthors

.

See Also

harmonise, msr

Examples

  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)

spatstat.core documentation built on May 18, 2022, 9:05 a.m.