#' This function prints or returns a summary of results from an attribution or decomposition
analysis using the LongDecompHE framework.
# S3 method for LongDecompHE
summary(object, ...)If the input is an attribution or decomposition object (e.g., from Attribution_sullivan or Decomp_sullivan),
the function prints summary tables of contributions to disability and death and returns the object invisibly.
Otherwise, it returns a list with model diagnostics including:
copula: the copula family used.
m.dist: marginal distribution type.
summary: coefficient estimates and standard errors.
llk: log-likelihood.
AIC: Akaike Information Criterion.
code: convergence code.
The returned object has class "summary.LongDecompHE".
a LongDecompHE object
further arguments