summary.prabtest {prabclus} | R Documentation |
Useful compression of the results of prabtest
.
summary.prabtest(object, ...) ## S3 method for class 'summary.prabtest': print(x, ...)
object |
object of class prabtest . |
x |
object of class summary.prabtest . |
... |
no meaning, necessary for print and summary methods. |
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 . |
Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche
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=5, pd=0.35, teststat="lcomponent") # The parameters times and # pd are only given to fasten the example execution. summary(kpt)