cloglog: The complementary log-log function

Description Usage Arguments Value Author(s) Examples

View source: R/cloglog.R

Description

The complementary log-log function and its inverse function are provided.

Usage

1
2

Arguments

p

a vector of probabilities p in the interval [0,1] that will be transformed to the real line.

x

a vector of real values that will be transformed to the interval [0,1].

Value

cloglog returns x, invcloglog returns probability p.

Author(s)

Mike Meredith

Examples

1
2
3
4
5
p <- (0:5)/5
p
x <- cloglog(p)
x
invcloglog(x)

mikemeredith/MMmisc documentation built on Nov. 8, 2019, 11:34 p.m.