Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

meanNeighbors

Helper function to obtain running means for prodlim objects.


Description

Compute average values of a variable according to neighborhoods.

Usage

meanNeighbors(x, y, ...)

Arguments

x

Object of class "neighborhood".

y

Vector of numeric values.

...

Not used.

Author(s)

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

See Also

Examples

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

prodlim

Product-Limit Estimation for Censored Event History Analysis

v2019.11.13
GPL (>= 2)
Authors
Thomas A. Gerds
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.