Just noticed a small bug in the Relate module. Might be a feature though Just curious what your opinion is.
Relate.m averages measurements of children objects per parent which is a great feature, but this has some strange behavior: It does not produces averaged measurements for parent objects which do not have any children objects (which could be NaNs or so). This results in measurements-matrices with strange/irregular sizes, nwo the matrix size depends on which is the last parent with children. In my opinion it would be great if they could be padded or initialized with NaNs or so, to make sure measurement-matrix-sizes correspond. What do you think?
%%% here's the issue in line 193 of the Relate.m module from the latest CP version:
for j = 1:max(Parents),