Package: R6causal
Type: Package
Title: R6 Class for Structural Causal Models
Version: 0.8.3
Authors@R: person("Juha", "Karvanen", email = "juha.karvanen@iki.fi",
                  role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5530-769X")) 
Maintainer: Juha Karvanen <juha.karvanen@iki.fi>
Description: 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.
License: AGPL-3
Encoding: UTF-8
RoxygenNote: 7.3.1
Imports: causaleffect, cfid, data.table, dosearch, glue, igraph, R6,
        stats, MASS
Suggests: rmarkdown, knitr, qgraph, sqldf
VignetteBuilder: knitr
NeedsCompilation: no
Collate: 'R6causal-package.R' 'R6causal_utils.R' 'R6causal.R'
        'R6causal_examples.R' 'R6causal_counterfactual.R'
        'R6causal_functions.R' 'R6causal_linear.R'
Packaged: 2024-03-14 15:34:40 UTC; juhak
Author: Juha Karvanen [aut, cre] (<https://orcid.org/0000-0001-5530-769X>)
Repository: CRAN
Date/Publication: 2024-03-14 16:10:02 UTC
Built: R 4.6.0; ; 2026-04-26 04:36:55 UTC; unix
