View source: R/meanNeighbors.R
meanNeighbors | R Documentation |
Compute average values of a variable according to neighborhoods.
meanNeighbors(x, y, ...)
x |
Object of class |
y |
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.