Displaying 1 result from an estimated 1 matches for "distname2cdfnam".
Did you mean:
distname2cdfname
2007 Mar 03
3
How to convert List object to function arguments?
...st";
* the dots list ("...") containing a list a parameters to pass to CDF
function;
and calls several goodness-of-fit tests on the given data values against
the given distribution.
That is:
##### BEGIN CODE SNIP #####
# Covert a distribution name to the related CDF function name
distname2cdfname <- function( dist )
{
if ( dist == "beta" ) { return( "pbeta" ); }
if ( dist == "cauchy" ) { return( "pcauchy" ); }
# many other and personalized (e.g. pareto, ...) distributions ...
return( "" ); # fall-back case
}
# Performs som...