.wecdf {longevity}R Documentation

Weighted empirical distribution function

Description

Weighted empirical distribution function

Usage

.wecdf(x, w, type = c("dist", "surv"))

Arguments

x

vector of length n of values

w

vector of weights of length n

type

string, one of distribution function (dist) or survival function (surv)

Author(s)

Adapted from spatstat (c) Adrian Baddeley and Rolf Turner


[Package longevity version 1.2 Index]