Learn R Programming

⚠️There's a newer version (0.4.10) of this package.Take me there.

shallot (version 0.4.1)

Random Partition Distribution Indexed by Pairwise Information

Description

Implementations are provided for the models described in the paper D. B. Dahl, R. Day, J. Tsai (2017) . The Ewens, Ewens-Pitman, Ewens attraction, Ewens-Pitman attraction, and ddCRP distributions are available for prior and posterior simulation. Posterior simulation is based on a user-supplied likelihood. Supporting functions for partition estimation and plotting are also provided.

Copy Link

Version

Install

install.packages('shallot')

Monthly Downloads

115

Version

0.4.1

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David B Dahl

Last Published

August 25th, 2017

Functions in shallot (0.4.1)

adj.rand.index

Adjusted Rand Index
attraction

Attraction
decay

Decay
enumerate.partitions

Enumerate Partitions
partition.distribution

Distribution
partition.pmf

Obtain the Probability Mass Function of a Partition Distribution
nsubsets

Number of Subsets
pairwise.probabilities

Pairwise Probabilities
sample.partitions.posterior

Sample Partitions from Posterior Distribution of Partition
sampling.model

Specifying a Sampling Model
permutation

Permutation
plot.partition

Confidence and Exemplar Plotting
estimate.partition

Estimate Partition
mass

Mass, Discount, and Temperature Parameters
process.samples

Process Sampled Partitions
sample.partitions

Sample Partitions from Partition Distributions
shallot-package

Random Partition Distribution Indexed by Pairwise Information