code: public <F extends NumberVector> F getMeanVector(Relation<? extends F> relation) {
      return RelationUtil.getNumberVectorFactory(relation).newNumberVector(mean);
    }
docs: Get the mean as vector.
  
  @param relation Data relation
  @param <F> vector type
  @return Mean vector