R/logpars2rrumpars.R

Defines functions logpars2rrumpars

## File Name: logpars2rrumpars.R
## File Version: 0.05


###############################################
# log parametrization to rum parametrization
#   pi * r1^(1-a1) * r2^(1-a2)
#=pi * r1 * r2 * (1/r1)^a1 * (1/r2)^a2
logpars2rrumpars <- function(delta_jj){
    v1 <- delta_jj
    N <- length(v1)
    v1 <- 1 / exp( delta_jj )
    v1[1] <- exp(sum( delta_jj))
    return(v1)
        }
###############################################

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.