GetQuantile: Quantile Function

View source: R/Distributions_lib.R

GetQuantileR Documentation

Quantile Function

Description

Evaluates the quantiles of a distribution

Usage

GetQuantile(p, dist, par)

Arguments

p

numeric in (0;1), nonexceedance probability

dist

character, distribution name

par

numeric vector, parameter vector

Value

The p-quantile as a numeric.

Examples

GetQuantile(0.99,'Normal',c(0,1))
GetQuantile(0.99,'GEV',c(100,25,-0.2))
GetQuantile(0.99,'GEV',c(100,25,0.2))
GetQuantile(0.99,'Poisson',0.75)

HydroPortailStats documentation built on Sept. 12, 2024, 9:36 a.m.