tdt function

Run a function on a treedata.table object