importFrom("stats", "addmargins", "cov", "dnorm", "ftable",

V, "V<-", E, is.directed, "E<-", layout.lgl, plot.igraph,

importFrom(methods, setOldClass) # because of setOldClass("igraph")

importFrom("stats", "as.formula", "cov", "cov2cor", "delete.response",
"deviance", "formula", "runif", "terms", "xtabs")

export(as.gmData, gModel, gmData, observations, "observations<-",
"gmData<-", newgmData, validVarTypes, varNames, nLevels,
export(fit, compile, propagate, stepwise, compareModels)
export(ug, ugList, dag, dagList, ug2dag, coerceGraph, edgeList,
edgeListMAT, nonEdgeListMAT, nonEdgeList, isGraphical, isDecomposable,
## Graph properties (used directly or in connection with querygraph/qgraph)
export(querygraph, qgraph, ancestors, ancestralGraph, ancestralSet,
children, closure, is.complete, is.decomposition, parents,
## Graph coercions. Ugly, but I needed a handle on generator lists
export(graphNEL2M, M2graphNEL, M2adjList, M2ugList, M2dagList,
ugList2M, dagList2M, M2dgCMatrix, M2matrix, M2igraph,
export(names2pairs, df2xtabs, dimnames_match, parray, as.parray,
simulateArray, cov2pcor, colwiseProd, data2parray, rowmat2list,
colmat2list, matrix2list, rowSumsPrim, colSumsPrim, as_, iplot,
rhsf2list, rhsFormula2list, list2rhsf, as.adjMAT, is.adjMAT,
## Set operations (should perhaps go into a separate package one
## Array operations (should perhaps go into a separate package one
export(ar_new, ar_normalize, ar_slice, ar_slice_prim, ar_marg,
ar_expand, ar_perm, ar_equal, ar_align, ar_add, ar_sum,
ar_prod, ar_subt, ar_mult, ar_div, ar_div0, ar_prod_list,
export(tabAdd, tabAlign, tabDiv, tabDiv0, tabEqual, tabExpand,
tabMult, tabSubt, tabPerm, tabMarg, tabProd, tabListMult,
## Array operations in R (made in Bristol)
export(tablePerm, tableMult, tableDiv, tableOp, tableSlice,
export(tab)       ## newar/ar_new; this is messy
## The prim functions... uniquePrim is used in gRc
export(jTree)       ## Used by rags2ridges
maxCliqueMAT, intersectPrim, mcsmarkedMAT, setdiffPrim, nextCell,

exportMethods(plot) ## IS THIS OK FOR CRAN????
export(ug, ugList, dag, dagList, ug2dag, coerceGraph,
## export(graphNEL2M, M2graphNEL, M2adjList, M2ugList, M2dagList,
##        ugList2M, dagList2M, M2dgCMatrix, M2matrix, M2igraph
colmat2list, matrix2list, rowSumsPrim, colSumsPrim, iplot,
export(tab)           ## newar/ar_new; this is messy
export(get_subset_)   ## Bruges ikke downstream
export(uniquePrim)       ## uniquePrim is used in gRc
export(topoSortMAT)      ## Used by mcmcabn
export(jTree)            ## Used by rags2ridges
export(removeRedundant, isGSD_glist, getCliques, mcsmarked, combnPrim,
## Not to self: Export methods but do not create aliases in .Rd files
## (remember to drop aliases on roxygen). Then methods are available