spsummary: Summary of a Point Pattern Dataset observed on a (Subset of)...

spsummaryR Documentation

Summary of a Point Pattern Dataset observed on a (Subset of) a Sphere

Description

Prints a useful summary of a point pattern dataset.

Usage

## S3 method for class 'sp2'
summary(object, ...)

## S3 method for class 'sp3'
summary(object, ...)

Arguments

object

Point pattern (an object of class sp2 for summary.sp2; an object of class sp3 for summary.sp3)

...

Ignored.

Details

A useful summary of the point pattern object is printed.

This is a method for the generic function summary.

Note

These functions are the analogues for point processes on the sphere of the function summary.ppp in spatstat, which is the corresponding function for point processes in R^2. Hence elements of this help page have been taken from summary.ppp with the permission of A. J. Baddeley. This enables the information on this help page to be consistent with that for summary.ppp. It is hoped that this will minimise or remove any confusion for users of both spatstat and spherstat.

Author(s)

Tom Lawrence

See Also

print.sp2, print.sp3, print.sphwin, summary.sphwin

Examples

X <- matrix(c(1,0,0, 0,0,1, 0,1,0), nrow=3, ncol=3, byrow=TRUE)
win <- sphwin(type="sphere")
X <- sp3(X=X, win=win)
print(X)
summary(X)

Y <- matrix(c(0,0, pi/2, 0, pi/2, pi, pi, 0), nrow=4, ncol=2, byrow=TRUE)
y <- sp2(X=Y, win=win)
print(Y)
summary(Y)

baddstats/spherstat documentation built on Feb. 6, 2023, 1:45 a.m.