powered by
Removes observations from the data frame Sample when the observation has the identical date and value as another observation
removeDuplicates(Sample)
A data frame 'Sample' with the following columns:
dataframe with at least DecYear and ConcHigh, default name is Sample
DecYear <- c('1985.01', '1985.01', '1985.02', '1985.02', '1985.03') ConcHigh <- c(1,2,3,3,5) dataInput <- data.frame(DecYear, ConcHigh, stringsAsFactors=FALSE) Sample <- removeDuplicates(dataInput)
Run the code above in your browser using DataLab