Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: spatial
See also: SPPPinitrandom SPPPsetregion SPPPgetregion SPPPkfn SPPPpsim SPPPstrauss SPPPssi SPPPkenvl SPPPkaver

Quantlet: SPPPinit
Description: Creates a point process object and calls SPPPsetregion to set the rectangular spatial domain.

Reference(s):

Link:
Usage: ppobj = SPPPinit (pp, xl, xu, yl, yu, fac)
Input:
pp n x 2 - matrix of x and y coordinates of locations
xl scalar - lower limit in x-direction of the domain rectangle
xu scalar - upper limit in x-direction of the domain rectangle
yl scalar - lower limit in y-direction of the domain rectangle
yu scalar - upper limit in y-direction of the domain rectangle
fac scalar - used to rescale all coordinates, i.e., to divide all coordinates by fac
Output:
res list - consisting of components pp, area, type --
pp n x 2 - input matrix pp (scaled by fac)
area 4 x 1 - vector consisting of xl, xu, yl, and yu (all scaled by fac)
type string - "PP"

Note:

Example:

; load the spatial statistics library

library ("spatial")

; read a spatial data set

pines = read ("pines.dat")

; initialize a point process

pinesobj = SPPPinit (pines, 0, 96, 0, 100, 10)

Result:

A point process object suitable for use in SPPPkfn.


Library: spatial
See also: SPPPinitrandom SPPPsetregion SPPPgetregion SPPPkfn SPPPpsim SPPPstrauss SPPPssi SPPPkenvl SPPPkaver

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Juergen Symanzik, 000725
(C) MD*TECH Method and Data Technologies, 21.9.2000