-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNAMESPACE
148 lines (131 loc) · 4.84 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
import(methods)
importFrom(CPTtools,effectiveThetas)
importFrom(CPTtools,getOffsetRules)
importFrom(CPTtools,isOffsetRule)
importFrom(CPTtools,calcDPCFrame,calcDPCTable,barchart.CPF)
importFrom("utils", "limitedLabels", "recover")
import(futile.logger)
## Pnet and Pnode interfaces
export(is.Pnet, as.Pnet, Pnet,
PnetPriorWeight, "PnetPriorWeight<-",
PnetPnodes, "PnetPnodes<-",
BuildAllTables,
is.Pnode, as.Pnode, Pnode, PnodeNet,
PnodeQ, "PnodeQ<-",
PnodeProbs, "PnodeProbs<-",
PnodePriorWeight, "PnodePriorWeight<-",
PnodePostWeight,
PnodeRules, "PnodeRules<-",
PnodeLink, "PnodeLink<-",
PnodeLnAlphas, "PnodeLnAlphas<-",
PnodeAlphas, "PnodeAlphas<-",
PnodeDefaultAlphas, PnodeDefaultBetas,
PnodeBetas, "PnodeBetas<-",
PnodeLinkScale, "PnodeLinkScale<-",
BuildTable,GetPriorWeight,PnodeParentTvals
)
exportMethods(is.Pnet, as.Pnet, Pnet,
PnetPriorWeight, "PnetPriorWeight<-",
PnetPnodes, "PnetPnodes<-",
BuildAllTables,
is.Pnode, as.Pnode, Pnode, PnodeNet,
PnodeQ, "PnodeQ<-",
PnodePriorWeight, "PnodePriorWeight<-",
PnodeRules, "PnodeRules<-",
PnodeLink, "PnodeLink<-",
PnodeLnAlphas, "PnodeLnAlphas<-",
PnodeAlphas, "PnodeAlphas<-",
PnodeBetas, "PnodeBetas<-",
PnodeLinkScale, "PnodeLinkScale<-",
BuildTable,PnodeParentTvals
)
export(show)
S3method(is.Pnet, default)
#S3method(Pnet, default)
S3method(is.Pnode, default)
S3method(PnodeAlphas, default)
S3method("PnodeAlphas<-", default)
S3method(PnodeParentTvals, default)
S3method(PnodeParentNames, default)
S3method(PnodeParentStates, default)
## BN generics.
exportClasses(Pnet,Pnode)
export(PnodeName, "PnodeName<-",
PnodeTitle, "PnodeTitle<-",
PnodeDescription, "PnodeDescription<-",
PnodeLabels, "PnodeLabels<-",
PnodeStates, "PnodeStates<-", PnodeNumStates,
PnodeStateTitles, "PnodeStateTitles<-",
PnodeStateDescriptions, "PnodeStateDescriptions<-",
PnodeStateValues, "PnodeStateValues<-",
PnodeStateBounds, "PnodeStateBounds<-",
PnodeParents, "PnodeParents<-",
PnodeParentNames, PnodeNumParents, PnodeParentStates,
isPnodeContinuous,
PnetName, "PnetName<-",
PnetTitle, "PnetTitle<-",
PnetHub, "PnetHub<-",
PnetPathname, "PnetPathname<-",
PnetDescription, "PnetDescription<-",
PnetFindNode,
PnetMakeStubNodes, PnetRemoveStubNodes,PnetAdjoin,
PnetDetach, PnetCompile,
PnetSerialize, PnetUnserialize, unserializePnet
)
exportMethods(PnodeName, "PnodeName<-",
PnodeTitle, "PnodeTitle<-",
PnodeDescription, "PnodeDescription<-",
PnodeLabels, "PnodeLabels<-",
PnodeStates, "PnodeStates<-", PnodeNumStates,
PnodeStateTitles, "PnodeStateTitles<-",
PnodeStateDescriptions, "PnodeStateDescriptions<-",
PnodeStateValues, "PnodeStateValues<-",
PnodeStateBounds, "PnodeStateBounds<-",
PnodeParents, "PnodeParents<-",
PnodeParentNames, PnodeNumParents, PnodeParentStates,
isPnodeContinuous,
PnodeEvidence,"PnodeEvidence<-",
PnetName, "PnetName<-",
PnetTitle, "PnetTitle<-",
PnetHub, "PnetHub<-",
PnetPathname, "PnetPathname<-",
PnetDescription, "PnetDescription<-",
PnetMakeStubNodes, PnetRemoveStubNodes,
PnetAdjoin, PnetDetach, PnetCompile,
PnetFindNode)
export(PnodeMin)
## Manifests
export(BuildNetManifest,BuildNodeManifest)
## Warehouses
exportClasses(PnetWarehouse,PnodeWarehouse)
export(ClearWarehouse,WarehouseManifest,"WarehouseManifest<-",
WarehouseData,WarehouseSupply,WarehouseFetch,
WarehouseMake,WarehouseFree, WarehouseUnpack,
WarehouseInventory,WarehouseCopy,WarehouseSave,
is.PnodeWarehouse,is.PnetWarehouse,
is.legal.name,as.legal.name,is.valid)
exportMethods(ClearWarehouse,
WarehouseManifest,"WarehouseManifest<-",
WarehouseData,WarehouseFetch,WarehouseSupply,
WarehouseMake,WarehouseFree,WarehouseCopy,
WarehouseInventory,WarehouseSave,
is.PnodeWarehouse,is.PnetWarehouse,
is.legal.name,as.legal.name,is.valid)
## EM algorithm
export(GEMfit, calcPnetLLike, calcExpTables,
maxAllTableParams,maxCPTParam)
exportMethods(calcPnetLLike, calcExpTables,
maxAllTableParams,maxCPTParam)
#S3method("maxAllTableParams", default)
## Q and Omega matrixes
export(Pnet2Omega,Pnet2Qmat,topsort,Omega2Pnet,Qmat2Pnet)
## Gadgets
export(CompensatoryGadget,OffsetGadget,RegressionGadget,DPCGadget)
export(MakeCompensatoryGadget,MakeOffsetGadget,MakeRegressionGadget,
MakeDPCGadget)
## Statistics
exportClass(Statistic)
export(StatName, Statistic, calcStat, PnodeMargin, PnodeEAP, PnodeSD,
PnodeMedian, PnodeMode, flattenStats)
exportMethods(calcStat, StatName)
export(flog.try)