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

View source: R/MECC_functions.R

get_marginal_distributionR Documentation

function to transform marginals into (0,1) interval

Description

function to transform marginals into (0,1) interval

Usage

get_marginal_distribution(data, mult)

Arguments

data

data frame with five columns containing years, severity and duration, and its transformations. Preferably the output of 'marginal_interval()'

mult

data frame with three columns (three multipliers) and two rows (severity and duration). Preferably the output of 'get_marginal_multipliers()'

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.