GetValue: Possible values of a discrete variable

View source: R/E6_GetValues.R

GetValueR 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")


BayesNetBP documentation built on May 9, 2022, 1:05 a.m.