discrete2density: density of the discrete part

Description Usage Arguments Details Value Examples

View source: R/f3.rbsb4.code.r

Description

This function returns the density of a discrete part of an /empirical/ for the values of x.

Usage

1

Arguments

xwdi

The [email protected] to consider.

x

Values for which the values must be computed.

Details

Values are not normalized, to obtain them just use normalize8empirical before extracting the continuous part.

Value

The resulting values. If the xwdi was not normalized, possible multiple defined weight are cumulated.

Examples

1
2
3
4
 rbsb3k("RESET"); # for R checking compliance (useless)
 xx <- c(4, 6, 3);
 xw <- matrix(c(1:3, 3:4, 0, 1, 3, 3, 0), 5);
 cbind(xx, ww=discrete2density(xw, xx));

rbsb documentation built on May 31, 2017, 1:45 a.m.