riverdirectionmatbysurvey function

River Direction Matrix of All Observations of an Individual