powered by
Compute average values of a variable according to neighborhoods.
meanNeighbors(x, y, ...)
Object of class "neighborhood".
"neighborhood"
Vector of numeric values.
Not used.
Thomas Alexander Gerds <tag@biostat.ku.dk>
neighborhood
meanNeighbors(x=1:10,y=c(1,10,100,1000,1001,1001,1001,1002,1002,1002))
Run the code above in your browser using DataLab