CRAN/E | R6causal

R6causal

R6 Class for Structural Causal Models

Installation

About

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.

Key Metrics

Version 0.8.3
Published 2024-03-14 49 days ago
Needs compilation? no
License AGPL-3
CRAN checks R6causal results

Downloads

Yesterday 7 0%
Last 7 days 75 -17%
Last 30 days 319 -34%
Last 90 days 1.097 -25%
Last 365 days 4.366 +28%

Maintainer

Maintainer

Juha Karvanen

juha.karvanen@iki.fi

Authors

Juha Karvanen

aut / cre

Material

README
NEWS
Reference manual
Package source

In Views

MissingData

Vignettes

using_R6causal

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

R6causal archive

Imports

causaleffect
cfid
data.table
dosearch
glue
igraph
R6
stats
MASS

Suggests

rmarkdown
knitr
qgraph
sqldf