Skip to content

pcalg

2.7-12

Methods for Graphical Models and Causal Inference

17packages depend
130Kdownloads / year
63.9%test coverage
8/13checks pass

Overview

About
Maintained by Markus KalischFirst published 2006-06-0649 releasesCRAN page ↗

Functions for causal structure learning and causal inference using graphical models. The main algorithms for causal structure learning are PC (for observational data without hidden variables), FCI and RFCI (for observational data with hidden variables), and GIES (for a mix of data from observational studies (i.e. observational data) and data from experiments involving interventions (i.e. interventional data) without hidden variables). For causal inference the IDA algorithm, the Generalized Backdoor Criterion (GBC), the Generalized Adjustment Criterion (GAC) and some related functions are implemented. Functions for incorporating background knowledge are provided.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 11.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.39
63.9%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-07-24
    9 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-23
    9 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
86%
Return-value docs
97%
References docs
61%

Downloads

130K
CRAN downloads in the past year
Rank #1,430 · ~356/day · ~10.8K/mo
Daily download trend is not available in this view yet.
7.4K30 days
19.9K90 days
130K1 year
Compare downloads with other packages →
Also on581 r2u2.1K bioconda101 c2d4u

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (3)
Enhances (0)
none

Code & Tests

People & History

People (17)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 2.0-1
Author · added in 0.1-4
Contributors (14)
Contributor · added in 2.4-2
Contributor · added in 0.1-9
Contributor · added in 2.6-0
Contributor · added in 2.2-0
Contributor · added in 2.7-0
Contributor · added in 2.2-0
Contributor · added in 2.2-0
Contributor · added in 2.7-0
Show 6 more contributors
Contributor · added in 2.4-2
Contributor · added in 2.4-2
Contributor · added in 2.2-0
Contributor · added in 2.4-2
Contributor · added in 2.4-2
Contributor · added in 2.4-2
Listed in earlier versions (1)
no longer listed · 0.1-3
Package Timeline

49 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.7-12Latest
    2024-09-12 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.7-11
    2024-02-12 · diff ↗
  • 2.7-10
    2024-02-06 · diff ↗
  • 2.7-9
    2023-09-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.7-8
    2022-12-21 · diff ↗
  • 2.7-7
    2022-10-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.7-6
    2022-04-04 · diff ↗
  • 2.7-5
    2022-02-22 · diff ↗
  • 2.7-4
    2021-11-25 · diff ↗
  • 2.7-3
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 60 earlier events
  • 2.7-2
    2021-04-22 · diff ↗
  • 2.7-1
    2021-01-09 · diff ↗
  • 2.7-0
    2020-11-17 · diff ↗
  • 2.6-12
    2020-09-22 · diff ↗
  • 2.6-11
    2020-08-16 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.6-10
    2020-03-03 · diff ↗
  • 2.6-9
    2020-02-11 · diff ↗
  • 2.6-8
    2019-11-21 · diff ↗
  • 2.6-7
    2019-10-23 · diff ↗
  • 2.6-6
    2019-09-16 · diff ↗
  • 2.6-5
    2019-08-27 · diff ↗
  • 2.6-2
    2019-04-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.6-0
    2018-06-04 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.5-0
    2017-07-12 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.4-5
    2017-02-22 · diff ↗
  • 2.4-3
    2016-09-28 · diff ↗
  • 2.4-2
    2016-09-26 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2.2-4
    2015-07-23 · diff ↗
  • 2.2-3
    2015-07-12 · diff ↗
  • 2.2-2
    2015-06-24 · diff ↗
  • 2.2-0
    2015-05-13 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 2.0-10
    2015-03-19 · diff ↗
  • 2.0-3
    2014-07-01 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.0-2
    2014-03-19 · diff ↗
  • 2.0-1
    2014-03-07 · diff ↗
  • 1.1-6
    2014-03-02 · diff ↗
  • 2.0-1-dup
    2014-02-26 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1-5
    2012-04-26 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1-4
    2011-05-09 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 1.1-2
    2010-10-27 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.0-2
    2010-04-16 · diff ↗
  • 1.0-0
    2010-03-14 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 0.1-9
    2009-09-23 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 0.1-8
    2009-03-06 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • 0.1-7
    2008-04-16 · diff ↗
  • 0.1-6
    2008-04-02 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • 0.1-5
    2007-04-11 · diff ↗
  • 0.1-4
    2006-11-02 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • 0.1-3
    2006-06-06
  • R
    R 2.3.0 released · 2006-04-24

Package metadata

First published
2006-06-06
Total releases
49 / 20 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
2.1 MB / 7 files
Download size
3.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pcalg")
Kalisch, M., Andri, N., Colombo, D., Eigenmann, M., Entner, D., Hauser, A., Henckel, L., Hoyer, P., Hyttinen, A., Maechler, M., Mooij, J., Nandy, P., Perkovic, E., Peters, J., Ruetimann, P., Schuerch, M., & Stekhoven, D. (2024). pcalg: Methods for Graphical Models and Causal Inference (Version 2.7-12) [Computer software]. https://doi.org/10.32614/CRAN.package.pcalg

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pcalg version 2.7-12 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy