# are.parsla.valid: Are the Distribution Parameters Consistent with the Slash... In lmomco: L-Moments, Censored L-Moments, Trimmed L-Moments, L-Comoments, and Many Distributions

## Description

Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (`cdfsla`, `pdfsla`, `quasla`, and `lmomsla`) require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the `are.parsla.valid` function.

## Usage

 `1` ```are.parsla.valid(para, nowarn=FALSE) ```

## Arguments

 `para` A distribution parameter list returned by `parsla` or `vec2par`. `nowarn` A logical switch on warning suppression. If `TRUE` then `options(warn=-1)` is made and restored on return. This switch is to permit calls in which warnings are not desired as the user knows how to handle the returned value—say in an optimization algorithm.

## Value

 `TRUE` If the parameters are `sla` consistent. `FALSE` If the parameters are not `sla` consistent.

## Note

This function calls `is.sla` to verify consistency between the distribution parameter object and the intent of the user.

W.H. Asquith

## References

Rogers, W.H., and Tukey, J.W., 1972, Understanding some long-tailed symmetrical distributions: Statistica Neerlandica, v. 26, no. 3, pp. 211–226.

`is.sla`, `parsla`
 ```1 2``` ```para <- vec2par(c(12,1.2),type='sla') if(are.parsla.valid(para)) Q <- quasla(0.5,para) ```