heating_system_age.Rdheating system age based on survey response and mean system lifetime based on a geometric failure distribution p(1-p)^t. This should be replaced by a more realistic discrete weibull distribution.
heating_system_age(q7, tech, params)heating_system_age(6,"oil",scenario_params(sD,2015))
#> [1] 21