dist-asia.Rd 1.01 KB
 Gilles Kratzer committed Feb 25, 2019 1 2 3 4 \name{dist.asia} \docType{data} \alias{dist.asia}  Gilles Kratzer committed Mar 01, 2019 5 6 \title{Named list of distributions to analyze asia dataset} \description{Named list of distribution to analyze asia dataset.  Gilles Kratzer committed Feb 25, 2019 7 8 }  Gilles Kratzer committed Mar 03, 2019 9  \usage{dist.asia}  Gilles Kratzer committed Feb 25, 2019 10 11 12 13 14 15 16 17 18  \format{ The data contains a cache of pre-computed scores with a maximum of two parents per node. \itemize{ \item \code{dist.asia}: a named list giving the distribution for each node in the network. }} \examples{ ## This data set was generated using the following code:  Reinhard Furrer committed Oct 29, 2019 19 library("bnlearn") # for the dataset  Gilles Kratzer committed Feb 25, 2019 20   Reinhard Furrer committed Oct 29, 2019 21 # Renaming columns of the dataset  Gilles Kratzer committed Feb 25, 2019 22 23 24 25 26 27 28 29 30 colnames(asia) <- c("Asia", "Smoking", "Tuberculosis", "LungCancer", "Bronchitis", "Either", "XRay", "Dyspnea")  Reinhard Furrer committed Oct 29, 2019 31 # Defining the distribution list  Gilles Kratzer committed Feb 25, 2019 32 33 34 35 36 37 38 39 40 41 42 dist.asia <- list(Asia = "binomial", Smoking = "binomial", Tuberculosis = "binomial", LungCancer = "binomial", Bronchitis = "binomial", Either = "binomial", XRay = "binomial", Dyspnea = "binomial") } \keyword{datasets}