summary.LongDecompHE {LongDecompHE}R Documentation

Summarizing outputs of a LongDecompHE object

Description

#' This function prints or returns a summary of results from an attribution or decomposition analysis using the LongDecompHE framework.

Usage

## S3 method for class 'LongDecompHE'
summary(object, ...)

Arguments

object

a LongDecompHE object

...

further arguments

Value

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:

The returned object has class "summary.LongDecompHE".


[Package LongDecompHE version 0.1.0 Index]