Skip to content

tpc

1.0

Tiered PC Algorithm

0packages depend
2.5Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Ronja ForaitaFirst published 2023-02-201 releasesCRAN page ↗GitHub ↗

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
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.8 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.03
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 365 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
94%
Return-value docs
100%
References docs
55%

Downloads

2.5K
CRAN downloads in the past year
Rank #16,141 · ~7/day · ~208/mo
Daily download trend is not available in this view yet.
12430 days
65790 days
2.5K1 year
Compare downloads with other packages →
Also on103 r2u

Repository

Repository
8Stars
1Forks
0Open issues
0Open PRs
0Releases
70Commits
2Contributors
causal-discoverycohort-analysisgraphical-modelsr-package
License GPL-3.0 · 70 commits · Last activity 2025-04-15 · 0% stars, 30d

Stars over time

2024-12-19 · 52026-07-07 · 8

Repository practices

Upstream repositoryBeta

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-08-02.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
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.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Maintainer, Contributor
Authors (1)
Contributors (1)
Maintainer, Contributor
Funders (1)
Funder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

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
Installed size
not tracked yet
With dependencies
not tracked yet
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