check.fs {lmomco} | R Documentation

## Check Vector of Nonexceedance Probabilities

### Description

This function checks that a nonexceedance probability (F) is in the 0 <= F <= 1 range. It does not check that the distribution whether the function as specified by current parameters if valid for F = 0 or F = 1. End point checking is left to additional internal checks within the functions implementing the distribution. The function is intended for internal use within this library to build logic flow throughout the distribution functions. Users are not expected to need this function themselves. The `check.fs` function is separate because of the heavy use of the logic across a myriad of functions in this package.

### Usage

    check.fs(fs)

### Arguments

`fs` | A vector of nonexceedance probablity values.

### Value

`TRUE` | The nonexceedance probabilities are valid.
`FALSE` | The nonexceedance probabilities are invalid.

### Author(s)

W.H. Asquith

### See Also

`quacau`, `quaexp`, `quagam`, `quagev`, `quagld`, `quaglo`,
`quagno`, `quagpa`, `quagum`, `quakap`, `quanor`, `quape3`,
`quawak`, and `quawei`

### Examples

    F <- c(0.5,0.7,0.9,1.1)
    if(check.fs(F) == FALSE) cat("Bad nonexceedances 0<F<1\n")

[Package lmomco version 0.92 Index]