Usage
autosearch(initnw,data,prior=jointprior(network(data)),maxiter=50,
trylist= rep(list(NULL),initnw$n),trace=TRUE,
timetrace=TRUE,showban=FALSE,saveall=FALSE)
heuristic(initnw,data,prior=jointprior(network(data)),
maxiter=100,restart=10,degree=initnw$n,
trylist= rep(list(NULL),initnw$n),trace=TRUE,
timetrace=TRUE,saveall=FALSE)
modelstreng(x)
makenw(tb,template)
Arguments
initnw
The initial network from which the search is started.
data
Data frame used for learning the network, see network
. maxiter
Maximum search steps in the search algorithm.
restart
The number of times to perturb initnw and rerun the
search.
degree
Degree of perturbation, see perturb
. trylist
Used internally for reusing learning of nodes, see maketrylist
. trace
If TRUE, plots the accepted networks during search.
timetrace
If TRUE, prints some timing information on the screen.
saveall
If TRUE, all networks explored in the search is
returned (memory consuming). Otherwise, only the best is returned.
x
A network object to be translated into a string.
tb
A table output from autosearch or heuristic. Can be
translated into a networkfamily.
template
The initial network being analysed.