Usage
beta.special(dat=NA, x.pos, y.pos, verbose=0, a=0.01, myDAG=NA,
myplot=FALSE, perfect=FALSE, method="local", collTest=TRUE,
pcObj=NA, all.dags=NA, u2pd="rand")
Arguments
x.pos, y.pos
integer column positions of $x$ and $y$ in dat
.
verbose
0=no comments, 2=detail on estimates
a
Significance level of tests for finding CPDAG
myDAG
Needed if true correlation matrix shall be computed
myplot
Plot estimated graph
perfect
True cor matrix is calculated from myDAG
method
"local" - local (all combinations of parents in regr.);
"global" - all DAGs
collTest
True - Exclude orientations of undirected edges that
introduce a new collider
pcObj
Fit of PC Algorithm (CPDAG); if this is available, no
new fit is done
all.dags
All DAGs in the format of function allDags; if this is
available, no new function call allDags is done