summary.prabtest {prabclus}R Documentation

Print and summary method for prabtest

Description

Useful compression of the results of prabtest.

Usage

summary.prabtest(object, ...)

## S3 method for class 'summary.prabtest':
print(x, ...)

Arguments

object object of class prabtest.
x object of class summary.prabtest.
... no meaning, necessary for print and summary methods.

Value

summary.prabtest produces an object of class summary.prabtest, which is a list with components

rrange range of the simulation results (test statistic values) of object.
rmean mean of the simulation results (test statistic values) of object.
datac, p.value, pd, tuning, teststat, distance, times, pdfnb directly taken from object, see prabtest.

Author(s)

Christian Hennig hennig@math.uni-hamburg.de http://www.math.uni-hamburg.de/home/hennig/

See Also

prabtest

Examples

data(kykladspecreg)
# Note: If you do not use the installed package, replace this by
# kykladspecreg <- read.table("(path/)kykladspecreg.dat")
data(nb)
# Note: If you do not use the installed package, replace this by
# nb <- list()
# for (i in 1:34)
#   nb <- c(nb,list(scan(file="(path/)nb.dat",
#                   skip=i-1,nlines=1)))
set.seed(5678)
kprab <- prabinit(prabmatrix=kykladspecreg, neighborhood=nb)
kpt <- prabtest(kprab, times=50, pd=0.35, teststat="lcomponent")
# The parameters times and
# pd are only given to fasten the example execution.
summary(kpt)

[Package prabclus version 1.0-2 Index]