icdf {voteSim}R Documentation

Generalized inverse of the empirical cumulative function.

Description

Generalized inverse of the empirical cumulative function.

Usage

icdf(u, x, n)

Arguments

u

a numeric vector of quantiles to be transformed.

x

a numeric vector of data values.

n

a positive integer specifying the length of the output vector.

Details

Computes the generalized inverse of the empirical cumulative function, which transforms quantiles u to the corresponding values of x based on the frequency distribution of x.

Value

a numeric vector of transformed quantiles.


[Package voteSim version 0.1.1 Index]