Learn R Programming

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

shallot (version 0.4.8)

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

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David B Dahl

Last Published

February 7th, 2020

Functions in shallot (0.4.8)

attraction

Attraction
decay.reciprocal

Decay Functions
sampling.model

Specifying a Sampling Model
shallot-package

Random Partition Distribution Indexed by Pairwise Information
ewens

Partition Distributions
mass

Mass, Discount, and Temperature Parameters
variance.ratio

Variance Ratio
mass.algorithm

Mass Selection Algorithm
association.matrix

Association Matrix
partition.pmf

Obtain the Probability Mass Function of a Partition Distribution
adj.rand.index

Adjusted Rand Index
permutation

Permutation
nsubsets.random

Number of Subsets
sample.partitions

Sample Partitions from Partition Distributions
process.samples

Process Sampled Partitions
default.mass

Default Mass Selection
estimate.partition

Estimate Partition
pairwise.probabilities

Pairwise Probabilities
partition.confidence

Partition Confidence