View source: R/recession.probability.R
recession.probability | R Documentation |
Calculates recession probability from 3 month treasury spread with optional plot
recession.probability(start.date,show.plot)
start.date |
Set date of first observation |
show.plot |
Display the recession probability plot |
Returns recession probability
RP <- recession.probability(start.date = '2000-01-01',show.plot = 'y') {datasets}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.