Description Usage Arguments Details See Also Examples
Pick the value in the center of a square matrix. Auxiliary function to be used by functions called by focal.function
.
1 | centervalue(x)
|
x |
a square matrix |
See for example the code of resid.median
.
1 2 | ( m <- matrix( round(runif(9,1,10)), ncol=3 ) )
centervalue(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.