Learn R Programming

HydroPortailStats (version 1.1.0)

GetCdf: Cumulative Distribution Function (cdf)

Description

Evaluates the cdf of a distribution

Usage

GetCdf(y, dist, par)

Value

The cdf as a numeric.

Arguments

y

numeric, value at which the cdf is evaluated

dist

character, distribution name

par

numeric vector, parameter vector

Examples

Run this code
GetCdf(0,'Normal',c(0,1))
GetCdf(200,'GEV',c(100,25,-0.2))
GetCdf(200,'GEV',c(100,25,0.2))
GetCdf(3,'Poisson',0.75)

Run the code above in your browser using DataLab