Learn R Programming

lacunaritycovariance (version 1.1-2)

summary.imlist: 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 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.

Examples

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab