Skip to contents

Return a function taking two arguments timestep and ages which returns the probabilities stored in name at the current timestep and for those persons who age is in ages.

Usage

make_get_age_probabilities(parameters, name)

Arguments

parameters

a named list

name

an element in the parameter list, must be numeric