f2f {lmomco} | R Documentation |
Subsetting of Nonexceedance Probabilities Related to Conditional Probability Adjustment
Description
This function subsetting nonexceedance probability according to
F(x) <- F(x | F(x) [>,\ge] 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]
for type == "gt"
or f <- f[f >= pp]
for type == "ge"
.
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, type=c("ge", "gt"))
Arguments
f |
A vector of nonexceedance probabilities. |
pp |
The plotting position of the left-hand threshold and recommended to come from |
xlo |
An optional result from |
type |
The type of the logical construction |
Value
A vector of conditional nonexceedance probabilities.
Author(s)
W.H. Asquith
See Also
Examples
# See examples for x2xlo().