meanNeighbors: Helper function to obtain running means for prodlim objects.

Description Usage Arguments Author(s) See Also Examples

View source: R/meanNeighbors.R

Description

Compute average values of a variable according to neighborhoods.

Usage

1

Arguments

x

Object of class "neighborhood".

y

Vector of numeric values.

...

Not used.

Author(s)

Thomas Alexander Gerds <tag@biostat.ku.dk>

See Also

neighborhood

Examples

1
meanNeighbors(x=1:10,y=c(1,10,100,1000,1001,1001,1001,1002,1002,1002))

prodlim documentation built on May 29, 2017, 5:59 p.m.