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 18 Sep. 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

data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

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