File:Ternary tree statistics.R.20181016.pdf