portf.rating <- c(20,50,60,70,10,5)
portf.scores <- seq_len(1000)
VDBCalibratePD(portf.scores, 0.1, 0.15, 0.5, rating.type = 'SCORE')
VDBCalibratePD(portf.rating, 0.1, 0.15, 0.5, rating.type = 'RATING')
Run the code above in your browser using DataLab