# Fitting Shared Atoms Nested Models via MCMC or Variational Bayes

## Documentation for package ‘sanba’ version 0.0.3

- DESCRIPTION file.
- Package NEWS.

## Help Pages

compute_psm | Compute and Plot the Posterior Similarity Matrix
estimate_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
estimate_partition | Estimate the Observational and Distributional Partition
estimate_partition.SANmcmc | Estimate the Observational and Distributional Partition
estimate_partition.SANvi | Estimate the Observational and Distributional Partition
fit_CAM | Fit the Common Atoms Mixture Model
fit_fiSAN | Fit the Finite-Infinite Shared Atoms Mixture Model
fit_fSAN | Fit the Finite Shared Atoms Mixture Model
get_model | Accessor Functions for SAN Model Outputs
get_model.SANmcmc | Accessor Functions for SAN Model Outputs
get_model.SANvi | Accessor Functions for SAN Model Outputs
get_params | Accessor Functions for SAN Model Outputs
get_params.SANmcmc | Accessor Functions for SAN Model Outputs
get_params.SANvi | Accessor Functions for SAN Model Outputs
get_seed_best_run | Accessor Functions for SAN Model Outputs
get_seed_best_run.SANvi | Accessor Functions for SAN Model Outputs
get_sim | Accessor Functions for SAN Model Outputs
get_sim.SANmcmc | Accessor Functions for SAN Model Outputs
get_sim.SANvi | Accessor Functions for SAN Model Outputs
get_time | Accessor Functions for SAN Model Outputs
get_time.SANmcmc | Accessor Functions for SAN Model Outputs
get_time.SANvi | Accessor Functions for SAN Model Outputs
number_clusters | Estimate the Number of Observational and Distributional Clusters
plot.partition_mcmc | Estimate the Observational and Distributional Partition
plot.partition_vi | Estimate the Observational and Distributional Partition
plot.SANmcmc | Visual Check of the Convergence of the MCMC Output
plot.SANvi | Visual Check of the Convergence of the VI Output
plot.SANvi_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
plot_vi_allocation_prob | Plot Variational Cluster Allocation Probabilities
print.partition_mcmc | Estimate the Observational and Distributional Partition
print.partition_vi | Estimate the Observational and Distributional Partition
print.SANmcmc | Print the MCMC Output
print.SANvi | Print the Variational Inference Output
print.SANvi_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions
summary.partition_mcmc | Estimate the Observational and Distributional Partition
summary.partition_vi | Estimate the Observational and Distributional Partition
summary.SANmcmc | Summarize the MCMC Output
summary.SANvi | Summarize the Variational Inference Output
summary.SANvi_G | Estimate the Atoms and Weights of the Discrete Mixing Distributions