make_L0: make_L0

Description Usage Arguments Value Examples

View source: R/make_L0.R

Description

This function takes the dataframe which assembles the stresstest data from exposures and impairments, the output of make_stress_data(), and constructs a matrix giving the loan exposure in all IRB exposure classes for all banks.

Usage

1

Arguments

data

a dataframe which is the output of make_stress_data()

Value

a B x J (number of banks x number of IRB exposure categories)

Examples

1
2
stress_data <- make_stress_data(eba_exposures_2016, eba_impairments_2016, 1, 2015)
make_L0(stress_data)

Martin-Summer-1090/syslosseval documentation built on Dec. 17, 2021, 3:14 a.m.