powered by
Adjusts the discount factors by a spread
adjust_disc(fd, spread)
vector of discount factors used to discount cashflows in 1:length(fd) periods
1:length(fd)
effective spread
adjust_disc(fd = c(0.99, 0.98), spread = 0.01)
Run the code above in your browser using DataLab