summary.imlist: Pointwise summary of a list of 'im' objects

View source: R/summaryimlist.R

summary.imlistR Documentation

Pointwise summary of a list of im objects

Description

This function assumes that im objects are each realisations of the same (stochastic) object. It returns pointwise summaries such as observed sample mean and sample variance.

Usage

## S3 method for class 'imlist'
summary(object, ..., harmonizeobject = TRUE)

Arguments

object

A list of im objects

...

Ignored

harmonizeobject

If TRUE (default) the pixel dimensions of the images will be harmonized. Otherwise the object will be tested for compatibility.

Value

A list im objects containing the pointwise mean, variance and maxima and minima.

Author(s)

Kassel Hingee

Examples

# reduce resolution in setcov() for faster (less accurate) computation 
oldopt <- spatstat.options()
spatstat.options("npixel" = 2^4)

obspatterns <- replicate(3, rbdd(10, 0.05, window = square(1)), simplify = FALSE)
ims <- solapply(obspatterns,
 function(x) racscovariance(x, obswin = square(1), estimators = "pickaH", drop = TRUE))
summ <- summary.imlist(ims, harmonizeobject = FALSE)
spatstat.options(oldopt)

lacunaritycovariance documentation built on Nov. 2, 2023, 6:08 p.m.