data(rats)
allrats <- getnetwork(networkfamily(rats,network(rats)))
allrats <- nwfsort(allrats)
if (FALSE) dir.create("c:/temp")
if (FALSE) genpicfile(allrats,outdir="c:/temp/pic/")
if (FALSE) genlatex(allrats,outdir="c:/temp/pic/",picdir="c:/temp/pic/")
## LATEX FILE:
#\documentclass{article}
#\usepackage{array,pictex}
#\begin{document}
#\input{scoretable}
#\input{picnice}
#\end{document}
#data(ksl)
#ksl.nw <- network(ksl)
#ksl.prior <- jointprior(ksl.nw,64)
#mybanlist <- matrix(c(5,5,6,6,7,7,9,
# 8,9,8,9,8,9,8),ncol=2)
#banlist(ksl.nw) <- mybanlist
#ksl.nw <- getnetwork(learn(ksl.nw,ksl,ksl.prior))
#ksl.search <- autosearch(ksl.nw,ksl,ksl.prior,
# trace=TRUE)
#ksl.searchlist <- makenw(ksl.search$table,ksl.search$nw)
#ksl.searchlist <- nwfsort(ksl.searchlist)
if (FALSE) genpicfile(ksl.searchlist)
if (FALSE) genlatex(ksl.searchlist)
Run the code above in your browser using DataLab