Skip to contents

Extend year-varying arrays into projection years by repeating the last value.

Usage

extend_years(value, par, n_proj)

Arguments

value

an array where the first dimension is years y.

par

parameter name used to determine dimensions and indexing (e.g. ytrsfl).

n_proj

number of years to add to array.

Value

an array including all iterations of the derived value.