vector_SNN: Aggregate dataframe into mean feature vectors
Aggregrate dataframe into mean feature vectors
Description
For each row of the SNN index matrix, this function takes the rows of
reference dataframe, z, and computes their column means, yielding one
mean vector per observation.