Crandore Hub

infoxtr

Information-Theoretic Measures for Revealing Variable Interactions

Implements information-theoretic measures to explore variable interactions, including KSG mutual information estimation for continuous variables from Kraskov et al. (2004) <doi:10.1103/PhysRevE.69.066138>, knockoff conditional mutual information described in Zhang & Chen (2025) <doi:10.1126/sciadv.adu6464>, synergistic-unique-redundant decomposition introduced by Martinez-Sanchez et al. (2024) <doi:10.1038/s41467-024-53373-4>, allowing detection of complex and diverse relationships among variables.

README

# infoxtr

<!-- badges: start -->

[![CRAN](https://www.r-pkg.org/badges/version/infoxtr)](https://CRAN.R-project.org/package=infoxtr)
[![CRAN Release](https://www.r-pkg.org/badges/last-release/infoxtr)](https://CRAN.R-project.org/package=infoxtr)
[![CRAN Checks](https://badges.cranchecks.info/worst/infoxtr.svg)](https://cran.r-project.org/web/checks/check_results_infoxtr.html)
[![Downloads_all](https://badgen.net/cran/dt/infoxtr?color=orange)](https://CRAN.R-project.org/package=infoxtr)
[![Downloads_month](https://cranlogs.r-pkg.org/badges/infoxtr)](https://CRAN.R-project.org/package=infoxtr)
[![License](https://img.shields.io/badge/license-GPL--3-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-3.0.html)
[![Lifecycle: experimental](https://lifecycle.r-lib.org/articles/figures/lifecycle-experimental.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/stscl/infoxtr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/stscl/infoxtr/actions/workflows/R-CMD-check.yaml)
[![R-universe](https://stscl.r-universe.dev/badges/infoxtr?color=cyan)](https://stscl.r-universe.dev/infoxtr)

<!-- badges: end -->

<a href="https://stscl.github.io/infoxtr/"><img src="man/figures/infoxtr.png" align="right" hspace="5" vspace="0" width="15%" alt="infoxtr website: https://stscl.github.io/infoxtr/"/></a>

***Information**-Theoretic Measures for Revealing Variable **Interactions***

*infoxtr* is an R package for analyzing variable interactions using information-theoretic measures. Originally tailored for time series, its methods extend seamlessly to spatial cross-sectional data. Powered by a pure C++ engine with a lightweight R interface, the package also exposes its headers for direct integration into other R packages.

> *Refer to the package documentation <https://stscl.github.io/infoxtr/> for more detailed information.*

## Installation

- Install from [CRAN](https://CRAN.R-project.org/package=infoxtr) with:

``` r
install.packages("infoxtr", dep = TRUE)
```

- Install binary version from [R-universe](https://stscl.r-universe.dev/infoxtr) with:

``` r
install.packages("infoxtr",
                 repos = c("https://stscl.r-universe.dev",
                           "https://cloud.r-project.org"),
                 dep = TRUE)
```

- Install from source code on [GitHub](https://github.com/stscl/infoxtr) with:

``` r
if (!requireNamespace("devtools")) {
    install.packages("devtools")
}
devtools::install_github("stscl/infoxtr",
                         build_vignettes = TRUE,
                         dep = TRUE)
```

## References

Schreiber, T., 2000. Measuring Information Transfer. Physical Review Letters 85, 461–464. https://doi.org/10.1103/physrevlett.85.461.

Kraskov, A., Stogbauer, H., Grassberger, P., 2004. Estimating mutual information. Physical Review E 69. https://doi.org/10.1103/physreve.69.066138.

Martinez-Sanchez, A., Arranz, G., Lozano-Duran, A., 2024. Decomposing causality into its synergistic, unique, and redundant components. Nature Communications 15. https://doi.org/10.1038/s41467-024-53373-4.

Zhang, X., Chen, L., 2025. Quantifying interventional causality by knockoff operation. Science Advances 11. https://doi.org/10.1126/sciadv.adu6464.

Varley, T.F., 2025. Information theory for complex systems scientists: What, why, and how. Physics Reports 1148, 1–55. https://doi.org/10.1016/j.physrep.2025.09.007.

Versions across snapshots

VersionRepositoryFileSize
0.2 rolling linux/jammy R-4.5 infoxtr_0.2.tar.gz 251.5 KiB
0.2 rolling linux/noble R-4.5 infoxtr_0.2.tar.gz 448.8 KiB
0.2 rolling source/ R- infoxtr_0.2.tar.gz 251.5 KiB
0.2 latest linux/jammy R-4.5 infoxtr_0.2.tar.gz 251.5 KiB
0.2 latest linux/noble R-4.5 infoxtr_0.2.tar.gz 448.8 KiB
0.2 latest source/ R- infoxtr_0.2.tar.gz 251.5 KiB
0.2 2026-04-26 source/ R- infoxtr_0.2.tar.gz 251.5 KiB
0.2 2026-04-23 source/ R- infoxtr_0.2.tar.gz 251.5 KiB
0.2 2026-04-09 windows/windows R-4.5 infoxtr_0.2.zip 770.9 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests