私は大規模なデータセットに取り組んでおり、すべてのサイトに共通の日付を見つけたいと思っています。
site <- c(1,1,1,2,2,2,2,3,3,4,4,4)
date <- c("4th Nov","5th Nov","6th Nov","5th Nov","6th Nov","7th Nov","8th Nov","5th Nov","6th Nov","6th Nov","7th Nov","8th Nov")
temperature <- c(3,5,7,3,6,8,5,3,5,7,8,9)
data <- data.frame(site,date,temperature)
common.dates(data)
[1] "6th Nov"
どんな助けでもいただければ幸いです。ありがとう!