barry
2026
ActivePackage2026CRAN0.2.2downloads2.5k
your to-go motif accountant
About
Provides the ‘C++’ header-only library ‘barry’ for use in R packages. ‘barry’ is a ‘C++’ template library for counting sufficient statistics on binary arrays and building discrete exponential-family models. It provides tools for sparse arrays, user-defined count statistics, support set constraints, power set generation, and includes modules for Discrete Exponential Family Models (DEFMs) and network statistics. By placing these headers in this package, it offers an efficient distribution system for CRAN, avoiding replication of this code across the sources of other packages. This package follows the same approach as the ‘BH’ package, which provides ‘Boost’ headers for R packages.
Cite
@Manual{barry,
title = {barry: your to-go motif accountant},
author = {{Vega Yon}, {George G.}},
year = {2026},
doi = {10.32614/CRAN.package.barry},
url = {https://cran.r-project.org/package=barry},
note = {R package version 0.2.2},
}