Learn R Programming

mtk (version 1.0)

Quantiles: The Quantiles function

Description

Calculates the quantiles of a univariate distribution.

Usage

Quantiles(pvalues, distribName, distribParameters, shrink=0.95)

Arguments

pvalues
a vector of probability values.
distribName
a string giving the name of a probability distribution.
distribParameters
a list of parameters of the distribution.
shrink
a scalar eqn

Value

Examples

Run this code
Quantiles(seq(0,1,length=11),"unif",list(min=8,max=10))
Quantiles(seq(0,1,length=11),"unif",list(min=8,max=10),shrink=0.5)
Quantiles(seq(0,1,length=11),"norm",list(mean=0, sd=1),shrink=0.5)

Run the code above in your browser using DataLab