Displaying 1 result from an estimated 1 matches for "selectedb".
Did you mean:
selected
2012 Oct 24
1
randomly select another observation with same grouping factor and year value, do for every record in dataframe
Hello,
I am trying to create a function that will move through each record of a data frame, find the value in the "HUC" column, then
randomly select another observation from the dataframe with the same value in "HUC" column, as well as the same value in "Yr" column as the first observation. I want the function to produce a list of the RchID of the first observation,