Other packages > Find by keyword >

R6causal  

R6 Class for Structural Causal Models
View on CRAN: Click here


Download and install R6causal package within the R console
Install from CRAN:
install.packages("R6causal")

Install from Github:
library("remotes")
install_github("cran/R6causal")

Install by package version:
library("remotes")
install_version("R6causal", "0.8.3")



Attach the package and use:
library("R6causal")
Maintained by
Juha Karvanen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-08-06
Latest Update: 2024-03-14
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.
How to cite:
Juha Karvanen (2021). R6causal: R6 Class for Structural Causal Models. R package version 0.8.3, https://cran.r-project.org/web/packages/R6causal. Accessed 08 Aug. 2026.
Previous versions and publish date:
(2026-07-09 08:18), 0.6.0 (2021-08-06 10:20), 0.6.1 (2022-08-06 10:50), 0.7.0 (2022-11-04 09:00), 0.8.0 (2023-06-12 21:20), 0.8.1 (2023-11-18 21:10), 0.8.2 (2023-12-19 03:00)
Other packages that cited R6causal R package
View R6causal citation profile
Other R packages that R6causal depends, imports, suggests or enhances
Complete documentation for R6causal
Functions, R codes and Examples using the R6causal R package
Some associated functions: ParallelWorld . R6causal . SCM . backdoor . backdoor_md . counterfactual . frontdoor . generate_condprob . run_experiment . trapdoor . 
Some associated R codes: R6causal.R .  Full R6causal package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
skewt  
The Skewed Student-t Distribution
Density, distribution function, quantile function and random generation for the skewed t distributio ...
Download / Learn more Package Citations See dependency  
productplots  
Product Plots for R
Framework for visualising tables of counts, proportions and probabilities. The framework is called ...
Download / Learn more Package Citations See dependency  
box  
Write Reusable, Composable and Modular R Code
A modern module system for R. Organise code into hierarchical, composable, reusable modules, and us ...
Download / Learn more Package Citations See dependency  
Morpho  
Calculations and Visualisations Related to Geometric Morphometrics
A toolset for Geometric Morphometrics and mesh processing. This includes (among other stuff) mesh d ...
Download / Learn more Package Citations See dependency  
FastGaSP  
Fast and Exact Computation of Gaussian Stochastic Process
Implements fast and exact computation of Gaussian stochastic process with the Matern kernel using fo ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,752

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA