slmomco: Reversed Cumulative Distribution Function (Survival Function)...

slmomcoR Documentation

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.

Author(s)

W.H. Asquith

See Also

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

Examples

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

lmomco documentation built on May 29, 2024, 10:06 a.m.