Learn R Programming

lmomco (version 2.2.5)

slmomco: Reversed Cumulative Distribution Function (Survival Function) of the Distributions

Description

This function acts as an alternative front end to par2cdf but reverses the probability to form the survival function. Conceptually, $S(F) = 1 - F(x)$ where $F(x)$ is plmomco (implemented by par2cdf). The nomenclature of the slmomco function is to mimic that of built-in R functions that interface with distributions.

Usage

slmomco(x, para)

Arguments

x
A real value.
para
The parameters from lmom2par or similar.

Value

Exceedance probability ($0 \le S \le 1$) for x.

See Also

dlmomco, plmomco, qlmomco, rlmomco, add.lmomco.axis

Examples

Run this code
para <- vec2par(c(0,1),type='nor') # Standard Normal parameters
exceed <- slmomco(1, para) # percentile of one standard deviation

Run the code above in your browser using DataLab