pps: Create point pattern

Description Usage Arguments Value Author(s)

View source: R/pps.R

Description

Creates an object of class pps representing a point pattern dataset on the unit sphere.

Usage

1
pps(x, y, z, window = sphwin(), check = TRUE)

Arguments

x

Vector of longitudinal angles (should range from 0 to 2*pi) or cartesian x coordinates of the data points.

y

Vector of latitudinal angles (should range from 0 to pi) or cartesian y coordinates of the data points.

z

Vector of cartesian z coordinates. Should be specified only if x and y represent cartesian coordiantes.

window

Window of observation, an object of class sphwin.

check

Logical value indicating wheter to check that al points lie inside the specified window.

Value

An object of class pps describing a point pattern on the unit circle.

Author(s)

Andreas Dyreborg Christoffersen andreas@math.aau.dk


adchSTATS/spatstatsphadd documentation built on May 28, 2019, 3:54 p.m.