adjustRates

fun adjustRates(factor: Double)

This function can be used to adjust the rates within the piecewise rate function up or down by the provided factor. Each rate is multiplied by the factor for its new setting. For example, to increase all rates by 20 percent, the factor should be 1.2. The previous rate function will be replaced by a new rate function with the adjusted rates.

Parameters

factor

The factor must be positive