Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

recogniseCdf

Explanatory Name of Distribution Function


Description

Recognises many standard cumulative distribution functions and returns a string describing the distribution.

Usage

recogniseCdf(s="punif")

Arguments

s

A single character string giving the name of an R function that calculates cumulative probabilities.

Details

The list of recognised distribution functions includes all those available in the stats package and in goftest.

By convention, the name of a cumulative distribution function begins with the letter p. For example, punif is the cumulative distribution function of the uniform distribution.

The initial letter p can be omitted in the function recogniseCdf.

Value

Character string, or NULL if the name is not recognised.

Author(s)

Adrian Baddeley.

See Also

Examples

recogniseCdf("punif")
   recogniseCdf("unif")
   recogniseCdf("pt")

goftest

Classical Goodness-of-Fit Tests for Univariate Distributions

v1.2-2
GPL (>= 2)
Authors
Julian Faraway [aut], George Marsaglia [aut], John Marsaglia [aut], Adrian Baddeley [aut, cre]
Initial release
2019-11-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.