dist-asia.Rd 1.01 KB
Newer Older
Gilles Kratzer's avatar
Gilles Kratzer committed
1
2
3
4
\name{dist.asia}
\docType{data}
\alias{dist.asia}

Gilles Kratzer's avatar
typos    
Gilles Kratzer committed
5
6
\title{Named list of distributions to analyze asia dataset}
\description{Named list of distribution to analyze asia dataset.
Gilles Kratzer's avatar
Gilles Kratzer committed
7
8
}

9
     \usage{dist.asia}
Gilles Kratzer's avatar
Gilles Kratzer committed
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's avatar
details    
Reinhard Furrer committed
19
library("bnlearn") # for the dataset
Gilles Kratzer's avatar
Gilles Kratzer committed
20

Reinhard Furrer's avatar
details    
Reinhard Furrer committed
21
# Renaming columns of the dataset
Gilles Kratzer's avatar
Gilles Kratzer committed
22
23
24
25
26
27
28
29
30
colnames(asia) <- c("Asia",
  "Smoking",
  "Tuberculosis",
  "LungCancer",
  "Bronchitis",
  "Either",
  "XRay",
  "Dyspnea")

Reinhard Furrer's avatar
details    
Reinhard Furrer committed
31
# Defining the distribution list
Gilles Kratzer's avatar
Gilles Kratzer committed
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}