mcmc-out-asia.Rd 1.07 KB
 Gilles Kratzer committed Feb 25, 2019 1 2 3 4 \name{mcmc.out.asia} \docType{data} \alias{mcmc.out.asia}  Gilles Kratzer committed Mar 03, 2019 5 \title{MCMC searches from the synthetic asia dataset for use with mcmcabn library examples}  Gilles Kratzer committed Feb 25, 2019 6 7 8 \description{This dataframe contains a cache of pre-computed scores with a maximum of two parents per node for the asia dataset. }  Gilles Kratzer committed Mar 03, 2019 9  \usage{mcmc.out.asia}  Gilles Kratzer committed Feb 25, 2019 10 11  \format{  Gilles Kratzer committed Feb 28, 2019 12  The data contains an object of class \code{mcmcabn}.  Gilles Kratzer committed Feb 25, 2019 13  \itemize{  Gilles Kratzer committed Feb 28, 2019 14  \item \code{mcmc.out.asia}: an object of class \code{mcmcabn}.  Gilles Kratzer committed Feb 25, 2019 15 16 17  }} \examples{  Gilles Kratzer committed Mar 07, 2019 18 \donttest{  Gilles Kratzer committed Feb 25, 2019 19 20 ## This data set was generated using the following code: library(bnlearn) #for the dataset  Gilles Kratzer committed Feb 28, 2019 21 library(abn) #for the cache of scores computing function  Gilles Kratzer committed Feb 25, 2019 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37  mcmc.out.asia <- mcmcabn(score.cache = bsc.compute.asia, score = "mlik", data.dists = dist.asia, max.parents = 2, mcmc.scheme = c(1000,99,1000), seed = 42, verbose = FALSE, start.dag = "random", prob.rev = 0.03, prob.mbr = 0.03, prior.choice = 2) } } \keyword{datasets}