recogniseCdf: Explanatory Name of Distribution Function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/recog.R

Description

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

Usage

1
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

pAD

Examples

1
2
3
   recogniseCdf("punif")
   recogniseCdf("unif")
   recogniseCdf("pt")

baddstats/goftest documentation built on Nov. 28, 2019, 2:19 a.m.