Привет, мне нужно найти дубликаты, я прикрепил изображение набора данных и пример дубликата. Тот же идентификатор и тот же результат с предыдущими датами.
Любая помощь будет очень признательна.
Набор данных Screengrab
structure(list(id = c(1010001, 1010001, 1010001, 1010001, 1010001,
1010001, 1010001, 1010001, 1010001, 1010001, 1010001, 1010001,
1010001, 1010001, 1010001, 1010001, 1010001, 1010001, 1010001,
1010001, 1010001, 1010001, 1010001, 1010001, 1010001, 1010001,
1010001, 1010001, 1010001), DateCollected = structure(c(1145664000,
1145750400, 1145836800, 1145923200, 1146009600, 1146096000, 1146096000,
1146096000, 1146096000, 1146096000, 1146096000, 1146182400, 1146268800,
1146355200, 1146441600, 1146528000, 1146614400, 1146700800, 1146787200,
1146787200, 1146787200, 1146787200, 1146787200, 1146787200, 1146873600,
1146960000, 1147046400, 1147132800, 1147219200), class = c("POSIXct",
"POSIXt"), tzone = "UTC"), Test = c("Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)",
"Tacrolimus (FK506)", "Tacrolimus (FK506)", "Tacrolimus (FK506)"
), Result = c(3, 4.1, 5.9, 8.1, 4.6, 7, 7.8, 11.2, 18.1, 18.4,
27, 4, 7.8, 8.4, 8.4, 6.1, 6.8, 5.4, 5.4, 6.5, 6.7, 8.1, 14.2,
32.4, 7.2, 8.6, 8.9, 7.2, 9.6), Units = c("ug/L", "ug/L", "ug/L",
"ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L",
"ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L",
"ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L", "ug/L",
"ug/L", "ug/L")), row.names = c(NA, -29L), class = c("tbl_df",
"tbl", "data.frame"))