Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

clique.test

Clique Test


Description

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.

Usage

clique.test(cliq,env,minsize=2,plotit=FALSE)

Arguments

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

Value

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.

Note

The ‘clique.test’ function actually calls the envrtest function once for each clique and stores the associated probability as determined by envrtest

Author(s)

David W. Roberts droberts@montana.edu

See Also

Examples

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

optpart

Optimal Partitioning of Similarity Relations

v3.0-3
GPL (>= 2)
Authors
David W. Roberts <droberts@montana.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.