emp_cdf: Empirical distribution functions

Description Usage Arguments Value Examples

View source: R/density.R

Description

Empirical cdf with cumsum. Empirical pdf with kernel density function

Usage

1
emp_cdf(x, x_f, x_e, eps)

Arguments

x

a vectors of values

x_f

lower bound of x

x_e

upper bound of x

eps

tolarance

...

arguments for densratio::

Value

function of empirical pdf/cdf

Examples

1
2
3
x <- rnorm(100)
cdf_x <- emp_cdf(x)
print(cdf_x(0))

TimeWz667/divKL documentation built on March 13, 2020, 4:39 p.m.