make_weight: Compose Parameter & Density Functions
Description
Purely internal, called after to_function, so no direct user arguments.#'
Usage
make_weight(f_param, f_pop)
Value
a new function, f(x) = f_param(x)*f_pop(x)
Arguments
- f_param
a function; the parameter function, varying with the aggregate
- f_pop
a function; the density function, varying with the aggregate