Plotting 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)

Arguments

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

Value

ggplot plot object

Methods (by class)

  • stapDP: plot_pairwise probability matrix

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.