powered by
Obtain all the possible values of a discrete variable.
GetValue(tree, var, message = TRUE)
a object
the variables to be queried
type of desired distribution
a vector of the possible values of discrete variable. If the variable is continuous, the returned value will be NULL.
vector
NULL
data(toytree) GetValue(toytree, "HDL")
Run the code above in your browser using DataLab