are.paremu.valid | R Documentation |
Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdfemu
, pdfemu
, quaemu
, lmomemu
), and lmomemu
require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the are.paremu.valid
function. The documentation for pdfemu
provides the conditions for valid parameters.
are.paremu.valid(para, nowarn=FALSE)
para |
A distribution parameter list returned by |
nowarn |
A logical switch on warning suppression. If |
TRUE |
If the parameters are |
FALSE |
If the parameters are not |
This function calls is.emu
to verify consistency between
the distribution parameter object and the intent of the user.
W.H. Asquith
is.emu
, paremu
## Not run:
para <- vec2par(c(0.4, .04), type="emu")
if(are.paremu.valid(para)) Q <- quaemu(0.5,para) #
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.