Other packages > Find by keyword >

pcalg  

Methods for Graphical Models and Causal Inference
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("pcalg", "2.7-12")



Attach the package and use:
library("pcalg")
Maintained by
Markus Kalisch
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2006-06-06
Latest Update: 2024-09-12
Description:
Functions for causal structure learning and causal inference using graphical models. The main algorithms for causal structure learning are PC (for observational data without hidden variables), FCI and RFCI (for observational data with hidden variables), and GIES (for a mix of data from observational studies (i.e. observational data) and data from experiments involving interventions (i.e. interventional data) without hidden variables). For causal inference the IDA algorithm, the Generalized Backdoor Criterion (GBC), the Generalized Adjustment Criterion (GAC) and some related functions are implemented. Functions for incorporating background knowledge are provided.
How to cite:
Markus Kalisch (2006). pcalg: Methods for Graphical Models and Causal Inference. R package version 2.7-12, https://cran.r-project.org/web/packages/pcalg. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:40), 0.1-3 (2006-06-06 22:35), 0.1-4 (2006-11-02 12:52), 0.1-5 (2007-04-11 19:05), 0.1-6 (2008-04-02 12:17), 0.1-7 (2008-04-16 19:39), 0.1-8 (2009-03-06 17:53), 0.1-9 (2009-09-23 18:45), 1.0-0 (2010-03-14 08:50), 1.0-2 (2010-04-16 11:51), 1.1-2 (2010-10-27 07:09), 1.1-4 (2011-05-09 15:30), 1.1-5 (2012-04-26 19:34), 1.1-6 (2014-03-02 12:45), 2.0-1 (2014-03-07 15:18), 2.0-2 (2014-03-19 16:10), 2.0-3 (2014-07-01 09:33), 2.0-10 (2015-03-19 11:22), 2.2-0 (2015-05-13 17:01), 2.2-2 (2015-06-24 11:15), 2.2-3 (2015-07-12 23:39), 2.2-4 (2015-07-23 09:21), 2.4-2 (2016-09-26 16:47), 2.4-3 (2016-09-28 17:10), 2.4-5 (2017-02-22 09:57), 2.5-0 (2017-07-12 12:41), 2.6-0 (2018-06-04 20:23), 2.6-2 (2019-04-26 00:40), 2.6-5 (2019-08-27 14:00), 2.6-6 (2019-09-16 17:50), 2.6-7 (2019-10-23 16:40), 2.6-8 (2019-11-21 13:00), 2.6-9 (2020-02-11 14:00), 2.6-10 (2020-03-03 15:40), 2.6-11 (2020-08-16 18:00), 2.6-12 (2020-09-22 17:30), 2.7-0 (2020-11-17 09:20), 2.7-1 (2021-01-09 07:30), 2.7-2 (2021-04-22 06:50), 2.7-3 (2021-06-01 10:30), 2.7-4 (2021-11-25 11:10), 2.7-5 (2022-02-22 13:40), 2.7-6 (2022-04-04 13:50), 2.7-7 (2022-10-04 16:20), 2.7-8 (2022-12-21 01:20), 2.7-9 (2023-09-26 07:40), 2.7-10 (2024-02-06 17:10), 2.7-11 (2024-02-12 13:00)
Other packages that cited pcalg R package
View pcalg citation profile
Other R packages that pcalg depends, imports, suggests or enhances
Complete documentation for pcalg
Functions, R codes and Examples using the pcalg R package
Some associated functions: EssGraph-class . GaussL0penIntScore-class . GaussL0penObsScore-class . GaussParDAG-class . LINGAM . ParDAG-class . Score-class . addBgKnowledge . adjustment . ages . amatType . backdoor . beta.special . beta.special.pcObj . binCItest . checkTriple . compareGraphs . condIndFisherZ . corGraph . dag2cpdag . dag2essgraph . dag2pag . disCItest . dreach . dsep . dsepAM . dsepAMTest . dsepTest . fci . fciAlgo-class . fciPlus . find.unsh.triple . gAlgo-class . gac . gds . ges . getGraph . getNextSet . gies . gmB . gmD . gmG . gmI . gmInt . gmL . ida . idaFast . iplotPC . isValidGraph . jointIda . legal.path . mat2targets . mcor . opt.target . optAdjSet . pag2anc . pag2conf . pag2edge . pag2mag . pc.cons.intern . pc . pcAlgo-class . pcAlgo . pcSelect . pcSelect.presel . pcalg-internal . pcalg2dagitty . pcorOrder . pdag2allDags . pdag2dag . pdsep . plotAG . plotSG . possAn . possDe . possibleDe . qreach . r.gauss.pardag . randDAG . randomDAG . rfci . rmvDAG . rmvnorm.ivent . searchAM . shd . showAmat . showEdgeList . simy . skeleton . trueCov . udag2apag . udag2pag . udag2pdag . visibleEdge . wgtMatrix . 
Some associated R codes: Aaux.R . AllClasses.R . adjustment.R . agesFuns.R . deprecated.R . dsepAM.R . fci.R . fciPlus.R . gacFuns.R . genRandDAG.R . gies.R . isValidGraph.R . jointIda.R . lingamFuns.R . optAdjSet.R . pag2anc.R . pag2conf.R . pag2edge.R . pcalg.R . pcalg2dagitty.R . pdsep.R . possDeAn.R . searchAM.R . udag2pag.R . zzz.R .  Full pcalg package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
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  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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