Pick the value in the center of a square matrix. Auxiliary function to be used by functions called by focal.function.
a square matrix
See for example the code of resid.median.
( m <- matrix( round(runif(9,1,10)), ncol=3 ) )
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.