clique.test {optpart} | R Documentation |
The ‘clique.test’ function analyzes within-clique variability in attributes of objects other than those used to calculate the similarity relation. If the cliques exhibit a narrower range of values than expected at random it may be that the variable analyzed has an underlying role in determining the attributes on which the similarity is calculated.
clique.test(cliq,env,minsize=2,plotit=FALSE)
cliq |
an object of class ‘clique’ |
env |
a continuous environmental variable to test |
minsize |
the minimum size clique to test for range |
plotit |
a switch to control plotting each clique individually |
Produces a vector of probabilities, one for each clique that expresses the probability of obtaining a range of ‘env’ as small as observed. Also produces a plot of the sorted probabilities on the current device.
The ‘clique.test’ function actually calls the
envrtest
function once for each clique and stores the
associated probability as determined by envrtest
David W. Roberts droberts@montana.edu
data(shoshveg)
data(shoshsite)
dis.bc <- dsvdis(shoshveg,'bray')
## Not run: cli.60 <- clique(dis.bc,0.60) # will run for several
## Not run: print(clique.test(cli.60,shoshsite$swb)) # minutes