plots pairwise probability clustering plot

plots pairwise probability clustering plot

plot_pairs(x, sample = NULL, sort = FALSE)

# S3 method for default
plot_pairs(x, sample = NULL, sort = FALSE)

Arguments

x

object with upper triangle pairwise probability matrix list entry

sample

positive integer denoting size of random sample for which the pairwise graph can be subset - useful for speeding up graphing

sort

boolean asking whether sorting algorithm should be used to sort pairwise probablity

Value

ggplot plot object

Methods (by class)

  • default: constructs pairwise probability heat map

References

Rodriguez A., Dunson D, and Gelfand A. The Nested Dirichlet Process Journal of the American Statistical Association 103 (1131-1154).

See also

the supplementary section of the reference for the sorting algorithm.