Skip to content

simcausal

0.5.7

Simulating Longitudinal Data with Causal Inference Applications

0packages depend
6.5Kdownloads / year
76.9%test coverage
13/13checks pass

Overview

About
Maintained by Fred GruberFirst published 2015-05-1611 releasesCRAN page ↗GitHub ↗

A flexible tool for simulating complex longitudinal data using structural equations, with emphasis on problems in causal inference. Specify interventions and simulate from intervened data generating distributions. Define and evaluate treatment-specific means, the average treatment effects and coefficients from working marginal structural models. User interface designed to facilitate the conduct of transparent and reproducible simulation studies, and allows concise expression of complex functional dependencies for a large number of time-varying nodes. See the package vignette for more information, documentation and examples.

Install

Health

CRAN checks
13OK
Slowest check: 7.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.99
76.9%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 800 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
85%
References docs
16%

Downloads

6.5K
CRAN downloads in the past year
Rank #11,254 · ~18/day · ~546/mo
Daily download trend is not available in this view yet.
33130 days
91390 days
6.5K1 year
Compare downloads with other packages →
Also on92 r2u1 autocran

Repository

Repository
70Stars
12Forks
14Open issues
1Open PRs
4Releases
163Commits
3Contributors
simulated-networksimulating-datastructural-equationssemcounterfactual-data
163 commits · Last activity 2024-07-18 · +1.4% stars, 30d

Stars over time

2025-07-30 · 692026-07-18 · 70

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/osofr/simcausal on 2026-07-30.

Continuous integration (1)
Travis CI
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.0
Imports (7)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Contributor, Maintainer · added in 0.5.6
Authors (3)
Contributors (1)
Contributor, Maintainer · added in 0.5.6
Listed in earlier versions (1)
no longer listed · 0.2.0 to 0.5.7
Package Timeline

11 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
  • 0.5.7Latest
    2024-10-19 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.6
    2022-10-28 · diff ↗
  • unarchivedReturned to CRAN
    2022-10-28
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-02-19
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
  • 0.5.5
    2019-01-08 · diff ↗
  • unarchivedReturned to CRAN
    2019-01-08
  • archivedRemoved from CRAN
    2018-08-19
    check problems were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
Show 11 earlier events
  • 0.5.4
    2017-10-08 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.5.3
    2016-12-20 · diff ↗
  • 0.5.1
    2016-05-25 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.5.0
    2016-02-20 · diff ↗
  • 0.4.0
    2015-09-22 · diff ↗
  • 0.3.0
    2015-08-24 · diff ↗
  • 0.2.0
    2015-06-13 · diff ↗
  • 0.1
    2015-05-16
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-05-16
Total releases
11 / 11 yrs
License
GPL-2 OSI
Minimum R
≥ 3.2.0
Download size
802 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