GetValue {BayesNetBP}R Documentation

Possible values of a discrete variable

Description

Obtain all the possible values of a discrete variable.

Usage

GetValue(tree, var, message = TRUE)

Arguments

tree

a ClusterTree object

var

the variables to be queried

message

type of desired distribution

Value

a vector of the possible values of discrete variable. If the variable is continuous, the returned value will be NULL.

Author(s)

Han Yu

Examples

data(toytree)
GetValue(toytree, "HDL")


[Package BayesNetBP version 1.6.1 Index]