icdf: Generalized inverse of the empirical cumulative function.

View source: R/fonctions_utiles.R

icdfR 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.


voteSim documentation built on May 29, 2024, 6:44 a.m.