marginal_interval: function to transform marginals into (0,1) interval

View source: R/MECC_functions.R

marginal_intervalR Documentation

function to transform marginals into (0,1) interval

Description

function to transform marginals into (0,1) interval

Usage

marginal_interval(data, d = 0.01)

Arguments

data

data frame with three columns containing years, severity and duration. Preferably the output of 'get_drought_series()'

d

a small value between zero and one. It is used bind the distribution to a open interval between zero and one, i.e. ]0,1[

Details

the default value of 'd' is 0.01 (Zhang and Singh, 2019)

Value

a vector with three values, the Lagrangian multipliers *Lambda_0*, *Lambda_1*, and *Lambda_2*


pedroalencar1/DroughtSDF documentation built on May 8, 2023, 6:58 p.m.