Learn R Programming

lmomco (version 2.3.1)

f2f: Subsetting of Nonexceedance Probabilities Related to Conditional Probability Adjustment

Description

This function subsetting nonexceedance probability according to $$ F(x) <- F(x | F(x) > p)\mathrm{,} $$ where \(F\) is nonexceedance probability for \(x\) and pp is the probability of a threshold. In R logic, this is simply f <- f[f >= pp]

This function is particularly useful to shorten a commonly needed code logic related such as FF[FF >= XloALL$pp], which would be needed in conditional probability adjustements and XloALL is from x2xlo. This could be replaced by syntax such as f2f(FF, xlo=XloALL). This function is very similar to f2flo with the only exception that the conditional probability adjustment is not made.

Usage

f2f(f, pp=NA, xlo=NULL)

Arguments

f

A vector of nonexceedance probabilities.

pp

The plotting position of the left-hand threshold and recommended to come from x2xlo.

xlo

An optional result from x2xlo from which the pp will be take instead of from the argument pp.

Value

A vector of conditional nonexceedance probabilities.

See Also

x2xlo, f2flo

Examples

Run this code
# NOT RUN {
# See examples for x2xlo().
# }

Run the code above in your browser using DataLab