search for: sampled_df

Displaying 1 result from an estimated 1 matches for "sampled_df".

2009 Jun 29
5
Select values at random by id value
All, I have data that looks like below. For each id there may be more than one value per day. I want to select a random value for that day for that id. The end result would hopefully be a matrix with the id as rows, date as columns and populated by the random hab value. Thanks to someone on here (Jim) I know how to do the matrix, but now realize I need to randomly select some of my values.