Computes node positions and edge metadata for plot.cta_ort.
Terminal nodes receive integer x-slot positions (left-to-right in DFS
right-first order); internal nodes are centered over their children.
Value
A list with elements:
nodesdata.frame:
node_id,depth,x,y,is_terminal,label,n,stop_reason.edgesdata.frame:
from_id,to_id,x0,y0,x1,y1,label.strataThe strata table from the LORT object.
Note
ort_plot_data is a legacy compatibility name for the LORT method.
See print.cta_ort for the naming note.