Skip to content

Tiered PC Algorithm

0packages depend
2.6Kdownloads / year
–test coverage
11/13flavors OK

Overview

About
Maintained by Ronja ForaitaCRAN page ↗GitHub ↗Issues ↗Declared funder: DFG

Constraint-based causal discovery using the PC algorithm while accounting for a partial node ordering, for example a partial temporal ordering when the data were collected in different waves of a cohort study. Andrews RM, Foraita R, Didelez V, Witte J (2021) arXiv:2108.13395 provide a guide how to use tpc to analyse cohort data.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Ronja Foraita <foraita@leibniz-bips.de>’

The Description field contains
  <arXiv:2108.13395> provide a guide how to use tpc to analyse cohort
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

CRAN check page ↗

Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0
READMEYes · 365 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
11 (1 internal)includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
75%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
55%

Downloads

2.6K
CRAN downloads in the past year
Rank #18,104 · ~7/day · ~219/mo
Daily download trend is not available in this view yet.
22530 days
72390 days
2.6K1 year
Compare downloads with other packages →
Also on74 r2u

Repository

8Stars
1Forks
0Open issues
0Open PRs
0Releases
70Commits
3Commit identities
causal-discoverycohort-analysisgraphical-modelsr-package
License file reads as GPL-3.0 · 70 commits · Last activity 2023-02-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-01 · 62026-07-07 · 8
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/bips-hb/tpc on 2026-10-25.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing tpc adds 27 packages (16 with compiled code, 36 MB of source tarballs). Heaviest: BH 14 MB, igraph 4.8 MB, pcalg 3.9 MB. 2 more not on CRAN are not measured.

Depends (2)
R >= 3.5.0pcalg
Imports (5)
graphgraphicsmethodsparallelutils
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Maintainer since 1.0 (2023), Contributor
Funder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0Latest
    2023-02-20 · current release
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-20
Total releases
1 / 3 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
590 KB / 6 files
Download size
620 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tpc")
Foraita, R., DFG, & Witte, J. (2023). tpc: Tiered PC Algorithm (Version 1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tpc

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 tpc version 1.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, 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