forked from cran/pcalg
-
Notifications
You must be signed in to change notification settings - Fork 2
/
NAMESPACE
172 lines (152 loc) · 4.21 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
useDynLib(pcalg)
###----- Imports ------------------------------------------------------
importFrom("utils", str)# for all the help examples
importFrom("graphics", plot.default, plot)
## try to import all we need, but not more
importFrom("methods",
setClass, setClassUnion, setMethod, setOldClass, setValidity,
getClass, getClassDef, callGeneric, as, is, extends,
new, validObject,
signature, representation, prototype)
## aargh: slow loading {currently just for getGraph() and similar}
## importFrom("Matrix", coerce)
## importClassesFrom("Matrix", Matrix, sparseMatrix, TsparseMatrix)
importFrom("abind", abind)
importFrom("corpcor", pseudoinverse)
importFrom("robustbase",
covOGK, hard.rejection,
Qn, s_Qn, scaleTau2 #, Sn, s_Sn, s_mad, s_IQR
)
importFrom("graph",
reverseEdgeDirections,
edgeRenderInfo, "edgeRenderInfo<-")
importClassesFrom("graph", graph, graphAM, graphNEL)
importMethodsFrom("graph",
## addEdge,
coerce,# as(., ...)
edges, edgeData,
edgeDataDefaults, "edgeDataDefaults<-",
isDirected,
nodes, "nodes<-",
numNodes, numEdges,
subGraph, ugraph)
importFrom("igraph", graph.adjacency, igraph.from.graphNEL, is.chordal,
plot.igraph, graph.dfs, k.regular.game, get.adjacency,
watts.strogatz.game, simplify, bipartite.random.game,
barabasi.game, interconnected.islands.game, degree.sequence.game,
is_igraph)
importFrom("RBGL",
biConnComp, johnson.all.pairs.sp, separates, bfs, connectedComp)
## also sp.between -- but only for deprecated beta.special(), hence RBGL::*
importFrom("ggm", isAcyclic, transClos, topOrder)
importFrom("Rcpp", evalCpp) # Needed for any package relying on Rcpp headers...
# Otherwise, there are runtime errors.
importFrom("bdsmatrix", gchol) ## for jointIda ("MCD")
importFrom("sfsmisc", digitsBase)
importFrom("fastICA", fastICA)
importFrom("clue", solve_LSAP)
importFrom("gmp", as.bigz, chooseZ, as.bigq)
###----- Exports ------------------------------------------------------
export(getGraph)# our S4 generic including methods
export(trueCov,
randomDAG,
wgtMatrix,
rmvDAG,
pcSelect,
zStat,
condIndFisherZ,
pcorOrder,
compareGraphs,
getNextSet,
mcor,
pcSelect.presel,
corGraph,
dag2cpdag,
## adj.check,
udag2pdag, udag2pdagSpecial, udag2pdagRelaxed,
shd,
pcAlgo, pcAlgo.Perfect,
pdag2dag,
udag2pag,
beta.special,
beta.special.pcObj,
causalEffect,
dreach, qreach,
plotAG,
skeleton,
pc,
gSquareBin,
gSquareDis,
gaussCItest,
# gaussCItest.fast,
dsep,
dsepTest,
disCItest,
binCItest,
ida,
idaFast,
legal.path,
plotSG,
pc.cons.intern,
checkTriple,
triple2numb,
fci,
pdsep,
rfci,
find.unsh.triple,
udag2apag,
dag2pag, # skeleton.dag2pag,
iplotPC,
showEdgeList,
showAmat,
visibleEdge,
possibleDe,
pag2magAM,
backdoor,
jointIda,
## Alain's :
r.gauss.pardag,
rmvnorm.ivent,
gies,
ges,
gds,
simy,
mat2targets,
# targets2mat,
dag2essgraph,
## --- end{Alain}
fciPlus,
LINGAM,
randDAG,
unifDAG,
unifDAG.approx,
gac)
## These are "internal" i.e., in man/pcalg-internal.Rd
## _FIXME ?_ ---------------------
export(##ancTS,
## has.new.coll,
## ci.test,
## dep.triple,
## faith.check,
## find.sink,
## flipEdges,
## minUncovCircPath,
## minUncovPdPath,
## minDiscrPath,
## my.SpecialDag,
## reach, # NB: dreach(), qreach() *are* non-internal
## updateList,
## FIXME{MM}: document !
rfci.vStruc,
allDags,
amat2dag)
exportClasses("pcAlgo",
"fciAlgo",
"gAlgo",
"ParDAG",
"GaussParDAG",
"Score",
"GaussL0penIntScore",
"GaussL0penObsScore",
"EssGraph")
exportMethods("summary", "show", "plot")