compute_step_cdf: compute cumulative distribution function of a step-shaped...

Description Usage Arguments Value Examples

View source: R/helper_for_onestep.R

Description

compute cumulative distribution function of a step-shaped (empirical) density

Usage

1
compute_step_cdf(pdf.mat, t.vec, start = -Inf)

Arguments

pdf.mat

if input vector = compute cdf for a step-function pdf; if input matrix = compute cdf for several step-function pdf with same jump points

t.vec

unique jump points of step function

start

if -Inf = from left to right; if Inf = from right to left.

Value

vector of cdf value

Examples

1
# TO DO

wilsoncai1992/onestep.survival documentation built on Dec. 17, 2017, 12:07 p.m.