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: SPPPinit SPPPinitrandom SPPPsetregion SPPPgetregion SPPPkfn SPPPpsim SPPPstrauss SPPPssi SPPPkaver

Quantlet: SPPPkenvl
Description: Computes envelope (upper and lower limits) and average of simulations of K-fns.

Reference(s):

Link:
Usage: ppkenvl = SPPPkenvl (fs, k, obj)
Input:
fs scalar - full scale of the plot
k scalar - number of regularly spaced distances in (0, fs)
obj list - (of type "PSIM", "STRAUSS", or "SSI") consisting of xmat, ymat, and type, caculated by SPPPpsim, SPPPstrauss, or SPPPssi
Output:
res list - consisting of components hx, hl, hu, aver --
hx k x 1 - vector of distances
hl k x 1 - vactor of min of K-fn
hu k x 1 - vector of max of K-fn
aver k x 1 - vector of averages of K-fn

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)

; reset random number generator

SPPPinitrandom (0)

; simulate 100 Binomial point processes, each consisting

; of 72 points, in the previously determined domain

ppsim = SPPPpsim (100, 72)

; calculate the envelope in interval (0, 5), split 

; into 100 segments

ppkenvl = SPPPkenvl (5, 100, sppsim)

Result:

List, consisting of distances and min, max, and averages 

of K-fn.


Library: spatial
See also: SPPPinit SPPPinitrandom SPPPsetregion SPPPgetregion SPPPkfn SPPPpsim SPPPstrauss SPPPssi 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