emp.quantileR Documentation

Empirical quantile function at one point

Description

Computes the value of an empirical quantile function at one point.

Usage

emp.quantile(arg, dendat)

Arguments

arg

d-vector; the point where the estimate is evaluated

dendat

n*d data matrix; the data matrix of n observations and d variables

Value

a real number or a d vector; if d>1 the empirical quantile function is estimated for each column of the data matrix "dendat"

Author(s)

Jussi Klemela

See Also

emp.distribu,

Examples

set.seed(2)
n<-100
d<-2 
x<-matrix(runif(n*d),n,d)

arg<-c(0.5,0.5)
emp.quantile(arg,x)