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 29 Oct. 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

GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
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  
personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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