| are.par.valid {lmomco} | R Documentation |
This function is a dispatcher on top of the are.parCCC.valid functions,
where CCC represents the distribution type: exp, gam, gev, glo, gno,
gpa, gum, kap, nor, pe3, revgum, wak, or wei. Internally, this function is called
only by vec2par in the process of converting a vector into a proper
distribution parameter object for this package.
are.par.valid(para,...)
para |
A distribution parameter object having at least attributes type and para. |
... |
Additional arguments for the are.parCCC.valid call that is made internally. |
TRUE |
If the parameters are consistent with the distribution specified by the type attribute of the parameter object. |
FALSE |
If the parameters are not consistent with the distribution specified by the type attribute of the parameter object. |
W.H. Asquith
Hosking, J.R.M., 1996, FORTRAN routines for use with the method of L-moments: Version 3, IBM Research Report RC20525, T.J. Watson Research Center, Yorktown Heights, New York.
Hosking, J.R.M. and Wallis, J.R., 1997, Regional frequency analysis—An approach based on L-moments: Cambridge University Press.
vec <- c(12,120) # parameters of exponential distribution
para <- vec2par(vec,'exp') # build exponential distribution parameter
# object
# The following two conditionals are equivalent as are.parexp.valid()
# is called within are.par.valid().
if(are.par.valid(para)) Q <- quaexp(0.5,para)
if(are.parexp.valid(para)) Q <- quaexp(0.5,para)