Library: | spatial |
See also: | SPPPinit SPPPinitrandom SPPPsetregion SPPPkfn SPPPpsim SPPPstrauss SPPPssi SPPPkenvl SPPPkaver |
Quantlet: | SPPPgetregion | |
Description: | retrieves the rectangular spatial domain that previously has been set by SPPPinit or SPPPsetregion |
Usage: | res = SPPPgetregion() | |
Output: | ||
res | 4 x 1 vector, consisting of xl, xu, yl, and yu |
; loads the spatial statistics library library("spatial") ; reads a spatial data set pines = read("pines.dat") ; initializes a point process pinesobj = SPPPinit(pines, 0, 96, 0, 100, 10) ; retrieves the area area = SPPPgetregion() area
Rectangular spatial domain, consisting of xl, xu, yl, yu: Contents of area [1,] 0 [2,] 9.6 [3,] 0 [4,] 10