Scalable Causal Discovery and Model Selection on Mixed Datasets with 'rCausalMGM'


[Up] [Top]

Documentation for package ‘rCausalMGM’ version 1.0

Help Pages

adjMat2Graph Convert an adjacency matrix into a graph
allMetrics Combined graph recovery metrics
bootstrap Runs bootstrapping for a causal graph on the dataset.
boss Runs the BOSS causal discovery algorithm on the dataset
coxmgm Calculate the CoxMGM graph on a dataset.
coxmgmCV Implements k-fold cross-validation for CoxMGM
coxmgmPath Estimates a solution path for CoxMGM
cpdag Calculate the CPDAG for a given DAG
createKnowledge A function to create a prior knowledge object for use with causal discovery algorithms
fciCV Implements k-fold cross-validation for FCI-Stable
fciStable Runs the causal discovery algorithm FCI-Stable on a dataset.
fciStars Implements StARS for FCI-Stable
graphTable A function to generate a data.frame for objects from graph class. It incorporates adjacency and orientation frequency if estimates of edge stability are available.
grasp Runs the GRaSP causal discovery algorithm on the dataset
growShrinkMB Implements Grow-Shrink algorithm for Markov blanket identification
loadGraph Load a graph from a ".txt" file
mgm Calculate the Mixed Graphical Model (MGM) graph on a dataset.
mgmCV Implements k-fold cross-validation for MGM
mgmfciCV Implements k-fold cross-validation for MGM-FCI-Stable
mgmPath Estimates a solution path for MGM
mgmpcCV Implements k-fold cross-validation for MGM-PC-Stable
moral Calculate the moral graph for a given DAG
pag Calculate the PAG for a given DAG and set of latent variables
pcCV Implements k-fold cross-validation for PC-Stable
pcStable Runs the causal discovery algorithm PC-Stable on a dataset.
pcStars Implements StARS for PC-Stable
plot.graph A plot override function for the graph class
plot.graphCV A plot override function for the graphCV class
plot.graphPath A plot override function for the graphPath class
plot.graphSTARS A plot override function for the graphSTARS class
plot.graphSTEPS A plot override function for the graphSTEPS class
print.graph A print override function for the graph class
print.graphCV A print override function for the graphCV class
print.graphPath A print override function for the graphPath class
print.graphSTARS A print override function for the graphSTARS class
print.graphSTEPS A print override function for the graphSTEPS class
print.knowledge A print override function for the knowledge class
printGraph Display a graph object as text.
prMetrics Combined adjaceny and orientation precision-recall metrics
prMetricsAdjacency Adjacency Precision-Recall Metrics
prMetricsCausal Causal Orientaion Precision-Recall Metrics for CPDAGs
prMetricsOrientation Orientation Precision-Recall Metrics
saveGraph Save a graph to a file. Supported file types are ".txt" and ".sif".
SHD Structural Hamming Distance (SHD)
simRandomDAG A function to simulate a random forward DAG from a SEM model.
skeleton Calculate the undirected skeleton for a given DAG
steps Implements StEPS and StARS for MGM