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 04 Jun. 2026.
Previous versions and publish date:
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

crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
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  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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