I would like to apply kriging with a set of Heavy metals belgian data.
But I got duplicate location :
length(clean.donnees.Ni@coords)
[1] 5740
length(unique(clean.donnees.Ni@coords))
[1] 5186
I can apply the sp::zerodist
function to remove the duplicated location, but instead I would like to take the mean of those points to keep a better dataset.
Does it exist such method ?
I found this topic about the subject in another forum, but there is still no answer :
spatial statistics - Dealing with duplicate locations kriging - a method for replacing with a single location taking the mean of the duplicates? (R) - Geographic Information Systems Stack Exchange