Learn R Programming

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

shallot (version 0.4.5)

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.5

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David B Dahl

Last Published

October 31st, 2018

Functions in shallot (0.4.5)

estimate.partition

Estimate Partition
sample.partitions.posterior

Sample Partitions from Posterior Distribution of Partition
adj.rand.index

Adjusted Rand Index
attraction

Attraction
partition.pmf

Obtain the Probability Mass Function of a Partition Distribution
sampling.model

Specifying a Sampling Model
shallot-package

Random Partition Distribution Indexed by Pairwise Information
decay

Decay
enumerate.partitions

Enumerate Partitions
permutation

Permutation
process.samples

Process Sampled Partitions
nsubsets

Number of Subsets
pairwise.probabilities

Pairwise Probabilities
partition.distribution

Distribution
mass

Mass, Discount, and Temperature Parameters
sample.partitions

Sample Partitions from Partition Distributions