Package: dmbc 1.0.3

Sergio Venturini

dmbc: Model Based Clustering of Binary Dissimilarity Measurements

Functions for fitting a Bayesian model for grouping binary dissimilarity matrices in homogeneous clusters. Currently, it includes methods only for binary data (<doi:10.18637/jss.v100.i16>).

Authors:Sergio Venturini [aut, cre], Raffaella Piccarreta [ctb]

dmbc_1.0.3.tar.gz
dmbc_1.0.3.tar.gz(r-4.5-noble)dmbc_1.0.3.tar.gz(r-4.4-noble)
dmbc_1.0.3.tgz(r-4.4-emscripten)dmbc_1.0.3.tgz(r-4.3-emscripten)
dmbc.pdf |dmbc.html
dmbc/json (API)

# Install 'dmbc' in R:
install.packages('dmbc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sergioventurini/dmbc/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • animals - List of binary dissimilarity matrices among 18 animals.
  • kinship - List of binary dissimilarity matrices among 15 kinship terms.
  • simdiss - Simulated binary dissimilarity matrices.

openblascppopenmp

1.30 score 4 scripts 264 downloads 36 exports 54 dependencies

Last updated 3 months agofrom:49b5a48ca1. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 24 2024
R-4.5-linux-x86_64OKDec 24 2024

Exports:adjust_xbmdsbmds_get_x_modecheck_controlcheck_list_nacheck_priorclusterscomp_ssrcontrol_dmbcdmbcdmbc_check_groupsdmbc_controldmbc_fitdmbc_fit_list_to_listdmbc_fit_list_to_mcmc.listdmbc_fit_to_mcmcdmbc_get_configurationdmbc_get_mapdmbc_get_mldmbc_get_postmeandmbc_get_postmediandmbc_ICdmbc_initdmbc_logLikdmbc_logLik_rbmdsdmbc_match_groupsdmbc_priorinitializemdsicplotprior_dmbcshowsubsetsummaryupdateupdate_prior

Dependencies:abindbackportsbayesplotcheckmateclicodacolorspaceDEoptimRdistributionaldplyrfansifarvergenericsggplot2ggrepelggridgesgluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmodeltoolsmunsellnlmenumDerivpillarpkgconfigplyrposteriorR6RColorBrewerRcppRcppArmadilloRcppProgressreshape2rlangrobustbaserobustXscalesstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Adjustment of the center and orientation of a latent configuration.adjust_x
List of binary dissimilarity matrices among 18 animals.animals
Bayesian multidimensional scaling (BMDS) using Markov Chain Monte Carlo (MCMC).bmds
Posterior mode latent configuration in Bayesian multidimensional scaling (BMDS).bmds_get_x_mode
Auxiliary function to recursively check NAs in a list.check_list_na
Extract the final cluster memberships from a 'dmbc_config' class instance.clusters,dmbc_config-method dmbc_config-clusters
Sum of squared residuals (SSR) from the observed distances and the given latent configuration.comp_ssr
Estimation of a DMBC model.dmbc
Auxiliary function for checking the grouping results of a fitted DMBC model.dmbc_check_groups
An S4 class to represent the latent configuration estimate for a DMBC model.dmbc_config dmbc_config-class
Auxiliary Function for Controlling DMBC Model Fittingcheck_control control_dmbc dmbc_control
An S4 class to represent the data to use in a DMBC model.dmbc_data dmbc_data-class
Fitter function for DMBC models.dmbc_fit
Conversion of an 'dmbc_fit_list' object to a 'list'.dmbc_fit_list_to_list
Conversion of an 'dmbc_fit_list' object to an object of class 'mcmc.list'.dmbc_fit_list_to_mcmc.list
An S4 class to represent the results of fitting DMBC model.dmbc_fit_list dmbc_fit_list-class
Conversion of an 'dmbc_fit' object to an object of class 'mcmc'.dmbc_fit_to_mcmc
An S4 class to represent the results of fitting DMBC model.dmbc_fit-class
Extractor function for a fitted DMBC model.dmbc_get_configuration
Extractor function for a fitted DMBC model.dmbc_get_map
Extractor function for a fitted DMBC model.dmbc_get_ml
Extractor function for a fitted DMBC model.dmbc_get_postmean
Extractor function for a fitted DMBC model.dmbc_get_postmedian
Model selection of DMBC models.dmbc_IC
An S4 class to represent the comparison of a set of DMBC models.dmbc_ic dmbc_ic-class
Function to compute the starting values before fitting a DMBC models.dmbc_init
Log-likelihood for DMBC models.dmbc_logLik
Log-likelihood for DMBC models.dmbc_logLik_rbmds
Auxiliary function for realigning the grouping of a fitted DMBC model.dmbc_match_groups
An S4 class to represent a DMBC model.dmbc_model dmbc_model-class
Auxiliary Function for Setting DMBC Model Priorscheck_prior dmbc_prior prior_dmbc update_prior
Create an instance of the 'dmbc_config' class using new/initialize.dmbc_config-initialize initialize,dmbc_config-method
Create an instance of the 'dmbc_data' class using new/initialize.dmbc_data-initialize initialize,dmbc_data-method
Create an instance of the 'dmbc_fit_list' class using new/initialize.dmbc_fit_list-initialize initialize,dmbc_fit_list-method
Create an instance of the 'dmbc_fit' class using new/initialize.dmbc_fit-initialize initialize,dmbc_fit-method
Create an instance of the 'dmbc_ic' class using new/initialize.dmbc_ic-initialize initialize,dmbc_ic-method
Create an instance of the 'dmbc_model' class using new/initialize.dmbc_model-initialize initialize,dmbc_model-method
List of binary dissimilarity matrices among 15 kinship terms.kinship
Information criterion for Bayesian multidimensional scaling (BMDS).mdsic
Provide a graphical summary of a 'dmbc_config' class instance.dmbc_config-plot plot,dmbc_config,ANY-method plot,dmbc_config-method
Provide a graphical summary of a 'dmbc_data' class instance.dmbc_data-plot plot,dmbc_data,ANY-method plot,dmbc_data-method
Provide a graphical summary of a 'dmbc_fit_list' class instance.dmbc_fit_list-plot plot,dmbc_fit_list,ANY-method plot,dmbc_fit_list-method
Provide a graphical summary of a 'dmbc_fit' class instance.dmbc_fit-plot plot,dmbc_fit,ANY-method plot,dmbc_fit-method
Provide a graphical summary of a 'dmbc_ic' class instance.dmbc_ic-plot plot,dmbc_ic,ANY-method plot,dmbc_ic-method
Show an instance of the 'dmbc_config' class.dmbc_config-show show,dmbc_config-method
Show an instance of the 'dmbc_data' class.dmbc_data-show show,dmbc_data-method
Show an instance of the 'dmbc_fit_list' class.dmbc_fit_list-show show,dmbc_fit_list-method
Show an instance of the 'dmbc_fit' class.dmbc_fit-show show,dmbc_fit-method
Show an instance of the 'dmbc_ic' class.dmbc_ic-show show,dmbc_ic-method
Show an instance of the 'dmbc_model' class.dmbc_model-show show,dmbc_model-method
Simulated binary dissimilarity matrices.simdiss
Subsetting a 'dmbc_fit_list' object.dmbc_fit_list-subset subset,dmbc_fit_list-method
Subsetting a 'dmbc_fit' object.dmbc_fit-subset subset,dmbc_fit-method
Provide a summary of a 'dmbc_config' class instance.dmbc_config-summary summary,dmbc_config-method
Provide a summary of a 'dmbc_data' class instance.dmbc_data-summary summary,dmbc_data-method
Provide a summary of a 'dmbc_fit_list' class instance.dmbc_fit_list-summary summary,dmbc_fit_list-method
Provide a summary of a 'dmbc_fit' class instance.dmbc_fit-summary summary,dmbc_fit-method
Provide a summary of a 'dmbc_ic' class instance.dmbc_ic-summary summary,dmbc_ic-method
Provide an update of a 'dmbc_ic' class instance.dmbc_ic-update update,dmbc_ic-method