Learn R Programming

shallot (version 0.4.8)

pairwise.probabilities: Pairwise Probabilities

Description

These functions relate to the pairwise probabilities that two items are clustered together, i.e., belong to the same subset in a partition.

Usage

pairwise.probabilities(x, parallel = TRUE)

Arguments

x

An object of class shallot.samples.raw when supplied to pairwise.probabilities or an object of class shallot.pairwiseProbability when supplied to print and as.matrix.

parallel

Should all of the CPU cores should be used? Defaults to TRUE.

Value

The pairwise.probabilities function returns an object of class shallot.pairwiseProbability.

The as.matrix function returns a square matrix.

Details

pairwise.probabilities calculates the pairwise probabilities that two items are clustered together, i.e., belong to the same subset in a partition.

as.matrix converts the results of pairwise.probabilities to an matrix.

See Also

sample.partitions, process.samples, estimate.partition

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
example(shallot)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab