summary.prabtest {prabclus}R Documentation

Print and summary method for prabtest

Description

Useful compression of the results of prabtest.

Usage

## S3 method for class 'prabtest':
summary(object, above.p=object$teststat %in%
         c("groups","inclusions","mean"),
         group.outmean=FALSE,...)

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

Arguments

object object of class prabtest.
above.p logical. TRUE means that for output from abundtest the p-value is p.above, otherwise p.below.
group.outmean logical. If TRUE and object$teststat="groups", statistics concerning the mean of all dissimilarities are given out by print.summary.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, abund, sarlambda directly taken from object, see prabtest and abundtest.
groupinfo if object$teststat="groups", components rrangeg (matrix of group-wise ranges of test statistic value), rmeang (vector of group-wise means of test statistic value), rrangem (range over simulations of overall mean of within-group dissimilarities), rmeanm (mean over simulations of overall mean of within-group dissimilarities) are added to the list object$groupinfo, and this is given out.

Author(s)

Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche

See Also

prabtest, abundtest

Examples

data(kykladspecreg)
data(nb)
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)

[Package prabclus version 2.1-2 Index]