The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

R6causal: R6 Class for Structural Causal Models

The implemented R6 class 'SCM' aims to simplify working with structural causal models. The missing data mechanism can be defined as a part of the structural model. The class contains methods for 1) defining a structural causal model via functions, text or conditional probability tables, 2) printing basic information on the model, 3) plotting the graph for the model using packages 'igraph' or 'qgraph', 4) simulating data from the model, 5) applying an intervention, 6) checking the identifiability of a query using the R packages 'causaleffect' and 'dosearch', 7) defining the missing data mechanism, 8) simulating incomplete data from the model according to the specified missing data mechanism and 9) checking the identifiability in a missing data problem using the R package 'dosearch'. In addition, there are functions for running experiments and doing counterfactual inference using simulation.

Version: 0.8.3
Imports: causaleffect, cfid, data.table, dosearch, glue, igraph, R6, stats, MASS
Suggests: rmarkdown, knitr, qgraph, sqldf
Published: 2024-03-14
DOI: 10.32614/CRAN.package.R6causal
Author: Juha Karvanen ORCID iD [aut, cre]
Maintainer: Juha Karvanen <juha.karvanen at iki.fi>
License: AGPL-3
NeedsCompilation: no
Materials: README NEWS
In views: MissingData
CRAN checks: R6causal results

Documentation:

Reference manual: R6causal.pdf
Vignettes: using_R6causal

Downloads:

Package source: R6causal_0.8.3.tar.gz
Windows binaries: r-devel: R6causal_0.8.3.zip, r-release: R6causal_0.8.3.zip, r-oldrel: R6causal_0.8.3.zip
macOS binaries: r-release (arm64): R6causal_0.8.3.tgz, r-oldrel (arm64): R6causal_0.8.3.tgz, r-release (x86_64): R6causal_0.8.3.tgz, r-oldrel (x86_64): R6causal_0.8.3.tgz
Old sources: R6causal archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=R6causal to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.