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]
First Published: 2021-08-06
Latest Update: 2023-12-19
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 16 Apr. 2025.
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
03/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/14Downloads for R6causal0510152025303540TrendBars

Today's Hot Picks in Authors and Packages

datadictionary  
Create a Data Dictionary
Creates a data dictionary from any dataframe or tibble in your R environment. You can opt to add va ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
hkclustering  
Ensemble Clustering using K Means and Hierarchical Clustering
Implements an ensemble algorithm for clustering combining a k-means and a hierarchical clustering ap ...
Download / Learn more Package Citations See dependency  
MultiKink  
Estimation and Inference for Multi-Kink Quantile Regression
Estimation and inference for multiple kink quantile regression for longitudinal data and the i.i.d d ...
Download / Learn more Package Citations See dependency  
apache.sedona  
R Interface for Apache Sedona
R interface for 'Apache Sedona' based on 'sparklyr' (). ...
Download / Learn more Package Citations See dependency  
MM4LMM  
Inference of Linear Mixed Models Through MM Algorithm
The main function MMEst() performs (Restricted) Maximum Likelihood in a variance component mixed mod ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

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