For a set of coefficients defined on a matrix of (potentially centered and scaled) leaf and node predictors, find the equivalent set of coefficients on just the leaves.
makeLeafCoefficients(sda.out, descendantMatrix, means, sds)A fitted sda object
A matrix describing the tree which was used, element (i,j) indicates whether leaf i is a descendant of node j.
If the original predictor matrix was centered, the means of the original predictor matrix, otherwise NULL.
If the original predictor matrix was scaled, the sds of the original predictor matrix, otherwise NULL.
A list giving the coefficients on the leaves for each of the discriminating axes and the intercepts for each of the discriminating axes.