spprint: Print Brief Details of a Point Pattern Dataset observed on a...

spprintR Documentation

Print Brief Details of a Point Pattern Dataset observed on a (Subset of) a Sphere

Description

Prints a very brief description of a point pattern dataset.

Usage

## S3 method for class 'sp2'
print(x, ...)

## S3 method for class 'sp3'
print(x, ...)

Arguments

x

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

...

Ignored.

Details

A very brief description of the point pattern x is printed.

This is a method for the generic function print.

Note

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

Author(s)

Tom Lawrence <email: tjlawrence@bigpond.com>

See Also

summary.sp2, summary.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)

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)

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