Unified extraction of Weibull shape/scale parameters from the flat vectors used by optimizers. For exponential components, shapes are all 1 and scales are 1/rate.
Arguments
- par
Numeric parameter vector. Length
mfor exponential,2*mfor Weibull.- m
Number of components.
- component
A
dfr_distprototype (e.g.dfr_exponential()ordfr_weibull()) that determines howparis laid out.