dist.list {lmomco}R Documentation

List of Distribution Names

Description

Return a list of the three character syntax identifying distributions supported within the lmomco package. The distributions are cau, exp, gam, gev, gld, glo, gno, gpa, gum, kap, nor, pe3, ray, revgum, wak, and wei.

Usage

dist.list()

Arguments

No arguments are needed.

Value

A vector of distribution identifiers.

Author(s)

W.H. Asquith

Examples

# Build an L-moment object
LM <- vec2lmom(c(10000,1500,0.3,0.1,0.04))
lm2 <- lmorph(LM)  # convert to vectored format
lm1 <- lmorph(lm2) # and back to named format

dist <- dist.list()

# demonstrate that lmom2par internally converts
# to needed L-moment object
for(i in seq(1,length(dist))) {
  # skip Cauchy (needs TL-moments) and GLD (speed)
  # Reverse Gumbel needs censoring . . .
  if(dist[i] == 'cau' | dist[i] == 'gld' | dist[i] == 'revgum') next
  print(lmom2par(lm1,type=dist[i]))
  print(lmom2par(lm2,type=dist[i]))
}


[Package lmomco version 0.96.3 Index]