centervalue: Pick Center Value from Matrix

Description Usage Arguments Details See Also Examples

View source: R/gridtools.R

Description

Pick the value in the center of a square matrix. Auxiliary function to be used by functions called by focal.function.

Usage

1

Arguments

x

a square matrix

Details

See for example the code of resid.median.

See Also

focal.function, resid.median

Examples

1
2
( m <- matrix( round(runif(9,1,10)), ncol=3 ) )
centervalue(m)

RSAGA documentation built on May 29, 2017, 9:05 a.m.