Learn R Programming

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

shallot (version 0.4.6)

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

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David B Dahl

Last Published

July 3rd, 2019

Functions in shallot (0.4.6)

default.mass

Default Mass Selection
attraction

Attraction
ewens

Partition Distributions
estimate.partition

Estimate Partition
sample.partitions

Sample Partitions from Partition Distributions
decay.reciprocal

Decay Functions
sample.partitions.posterior

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

Adjusted Rand Index
association.matrix

Association Matrix
nsubsets.random

Number of Subsets
pairwise.probabilities

Pairwise Probabilities
mass

Mass, Discount, and Temperature Parameters
mass.algorithm

Mass Selection Algorithm
permutation

Permutation
process.samples

Process Sampled Partitions
variance.ratio

Variance Ratio
enumerate.partitions

Enumerate Partitions
shallot-package

Random Partition Distribution Indexed by Pairwise Information
sampling.model

Specifying a Sampling Model
partition.pmf

Obtain the Probability Mass Function of a Partition Distribution
partition.confidence

Partition Confidence