Learn R Programming

xVA (version 1.1)

IS_IG: Checks if Credit rating is Investment Grade

Description

Checks if the credit rating is investment grade or not (if not rating not recognised will be unrated)

Usage

IS_IG(credit_rating)

Value

TRUE if Rating is Investment Grade

Arguments

credit_rating

The Credit Rating to be checked

Author

Tasos Grivas <tasos@openriskcalculator.com>

References

https://en.wikipedia.org/wiki/Credit_rating

Examples

Run this code

TRUE == IS_IG('AAA')

Run the code above in your browser using DataLab