R/plots.R
plot_pairs.RdPlotting functions for stapDP objects Plots pairwise probability clustering plot
plot_pairs(x, sort = FALSE, sample = 0) # S3 method for stapDP plot_pairs(x, sort = FALSE, sample = 0)
| x | stapDP object |
|---|---|
| sort | boolean asking whether sorting algorithm should be used to sort pairwise probablity |
| sample | number of subjects to sample in order to speed computation |
ggplot plot object
stapDP: plot_pairwise probability matrix
Rodriguez A., Dunson D, and Gelfand A. The Nested Dirichlet Process Journal of the American Statistical Association 103 (1131-1154).
the supplementary section of the reference for the sorting algorithm.