R/tformRankFrechet.R

Defines functions tformRankFrechet

Documented in tformRankFrechet

tformRankFrechet <- function( x, na.action = na.fail, ... ) {

    x <- na.action( x )
    N <- length( x )

    res <- rank( x, ... ) / ( N + 1 )

    res <- -1 / log( res )

    return( res )

}

Try the extRemes package in your browser

Any scripts or data that you put into this service are public.

extRemes documentation built on Nov. 19, 2022, 1:07 a.m.