median3d: Median along the dimension given by 'along'. The same as...

View source: R/median3d.R

median3dR Documentation

Median along the dimension given by 'along'. The same as apply(x,(1:3)[-along],median,na.rm=TRUE), but some hundred times faster.

Description

Median along the dimension given by 'along'. The same as apply(x,(1:3)[-along],median,na.rm=TRUE), but some hundred times faster.

Usage

median3d(x, along = 1)

Arguments

x

is a 3d array to be median smoothed along the 'along' dimension.

along

Integer. The median is taken along this dimension.


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.