Description Usage Arguments Value Author(s) Examples
For each element in a matix, replace it with the median of the values around it.
1 | medianFilter(x, mrad, nrad)
|
x |
numeric matrix to median filter |
mrad |
number of rows on either side of the value to use for median calculation |
nrad |
number of rows on either side of the value to use for median calculation |
A matrix whose values have been median filtered
Colin A. Smith, csmith@scripps.edu
1 2 3 | mat <- matrix(1:25, nrow=5)
mat
medianFilter(mat, 1, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.