|
14 | 14 | #' @param direction NULL, "up" or "down". NULL means normal convergence in both
|
15 | 15 | #' directions, "up" is only a convergence if origin<aim, "down" means only a
|
16 | 16 | #' convergence if origin>aim
|
17 |
| -#' @param type "smooth", "s", "linear" or "decay". Describes the type of |
18 |
| -#' convergence: linear means a linear conversion , s is an s-curve which starts |
19 |
| -#' from origin in start_year and reaches aim precisely in end_year. After 50 |
20 |
| -#' percent of the convergence time, it reaches about the middle of the two |
21 |
| -#' values. Its based on the function min(1, pos^4/(0.07+pos^4)*1.07) smooth is |
22 |
| -#' a conversion based on the function x^3/(0.1+x^3). In the latter case only |
23 |
| -#' 90\% of convergence will be reached in the end year, because full |
24 |
| -#' convergence is reached in infinity. decay is a conversion based on the |
25 |
| -#' function x/(1.5 + x)*2.5. |
| 17 | +#' @param type "smooth", "s", "linear" or "decay". Describes the function used |
| 18 | +#' for convergence (x starts at 0 and ends at 1): |
| 19 | +#' "linear" means linear interpolation. |
| 20 | +#' "s" is an s-curve which starts from origin in start_year and reaches aim |
| 21 | +#' precisely in end_year. After 50\% of the convergence time, it reaches about |
| 22 | +#' the middle of the two values. It's using the function x^4/(0.07+x^4)*1.07). |
| 23 | +#' "smooth" is a conversion based on the function x^3/(0.1+x^3). With "smooth" |
| 24 | +#' only 90\% of convergence will be reached in the end year, full |
| 25 | +#' convergence is approached as x approaches infinity. |
| 26 | +#' "decay" is a conversion based on the function x / (par + x) * (par + 1). |
26 | 27 | #' @param par parameter value for convergence function; currently only used for
|
27 | 28 | #' type="decay"
|
28 | 29 | #' @return returns a time-series with the same timesteps as origin, which
|
|
0 commit comments