Function for extract a named vector from an object of class treedata.table
treedata.table
Useful links