At origin o the value is
selected * (1 + trend)^(years(o) - years(base)) / factors[o].
Friedland's approach #2 selects a frequency and a severity this way from
the older, mature years.
Usage
trended(selected, base, trend, factors = NULL)
Arguments
- selected
The value at the base origin's level.
- base
The origin whose level selected is at, as a year or label.
- trend
The annual trend.
- factors
NULL, or one factor per origin, oldest first, that
brings the origin's value to the base level for anything besides the
trend (tort reform factors).
Examples
trended(20, 2008, 0.05)
#> $kind
#> [1] "trended"
#>
#> $selected
#> [1] 20
#>
#> $base
#> [1] "2008"
#>
#> $trend
#> [1] 0.05
#>
#> $factors
#> numeric(0)
#>
#> attr(,"class")
#> [1] "trended"