This is an internal method to extract coefficients from the list of the fitted distributions
for each variable resulting from fit_dist_pbox. This method handles potential issues
with parameter extraction from the complex objects created by GAM-like models.
Usage
coefAll2(obj, deviance = FALSE)
Value
A list of coefficients, possibly including 'mu', 'sigma', 'nu', and 'tau', depending on
the model specification in obj. If deviance is TRUE, it also includes the deviance of the model.
Arguments
obj
An object typically resulting from fit_dist_pbox.
deviance
Logical value indicating whether to compute deviance for the fitted model.