barry: Your Go-to Motif Accountant

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, we offer an efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided. This package follows the same approach as the 'BH' package which provides 'Boost' headers for R packages.

Package details

AuthorGeorge Vega Yon [aut, cre] (ORCID: <https://orcid.org/0000-0002-3171-0844>), U.S. Army Medical Research Acquisition Activity [fnd] (ORION project, Award #W81XWH1910615), National Cancer Institute [fnd] (IMAGE project, Grant #1P01CA196596)
MaintainerGeorge Vega Yon <g.vegayon@gmail.com>
LicenseMIT + file LICENSE
Version0.2.2
URL https://github.com/USCbiostats/barryr https://uscbiostats.github.io/barryr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("barry")

Try the barry package in your browser

Any scripts or data that you put into this service are public.

barry documentation built on July 23, 2026, 1:07 a.m.