R/hlmomco.R

"hlmomco" <-
function(x,para) {
    if(! are.par.valid(para)) return();
    the.pdf <- dlmomco(x,para);
    the.cdf <- plmomco(x,para);
    the.pdf[is.na(the.pdf)] <- 0 # should already be done, but not harm again
    return(the.pdf/(1 - the.cdf));
}

Try the lmomco package in your browser

Any scripts or data that you put into this service are public.

lmomco documentation built on May 29, 2024, 10:06 a.m.