Description Usage Arguments Details Value Author(s) See Also Examples
Recognises many standard cumulative distribution functions and returns a string describing the distribution.
1 | recogniseCdf(s="punif")
|
s |
A single character string giving the name of an R function that calculates cumulative probabilities. |
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
.
Character string, or NULL
if the name is not recognised.
Adrian Baddeley.
1 2 3 | recogniseCdf("punif")
recogniseCdf("unif")
recogniseCdf("pt")
|
[1] "uniform distribution"
NULL
[1] "Student's t distribution"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.