removes repeated measurements of an individual in the same year, keeping only the measurements (rows) with the highest POM (if KeepMeas = "MaxHOM"), and/or the most recent measurement (same year but more recent date) (if KeepMeas = "MaxDate")
I would like to change "Year" to "IdCensus" to accomodate cases where there may be two censuses in the same year (before and after growing season) and to detect repeated measures that may have occurred in the same census but at different years (when census span more than one year).
When a user does not have IdCensus in their data, IdCensus is automatically generated using Year, so in those cease, the outcome of UniqueMeasurement would be the same.
@cpiponiot, do you see any potential issues with that?
the function
UniqueMeasurement
I would like to change "Year" to "IdCensus" to accomodate cases where there may be two censuses in the same year (before and after growing season) and to detect repeated measures that may have occurred in the same census but at different years (when census span more than one year).
When a user does not have IdCensus in their data, IdCensus is automatically generated using Year, so in those cease, the outcome of
UniqueMeasurement
would be the same.@cpiponiot, do you see any potential issues with that?