Learn R Programming

LEdecomp (version 1.0.4)

method_registry: Registry of Available Life Expectancy Decomposition Methods

Description

A reference table listing all decomposition methods implemented in the LEdecomp package, along with their corresponding function names and classification.

Usage

method_registry

Arguments

Format

A data frame with 28 rows and 3 variables:

method

Character. The method name used in the method argument of LEdecomp().

fun_name

Character. The actual function name (as a string) used to compute the decomposition.

category

Character. One of "direct", "direct_sen", "opt_ok", or "general", indicating how the method operates internally:

  • "direct": Classic decomposition methods using two full input vectors (e.g., Arriaga, Lopez-Ruzicka).

  • "direct_sen": Sensitivity-based methods that take mx1 and mx2, and divide the result by their difference.

  • "opt_ok": Sensitivity methods that accept a single mx input and optionally allow optimization over the interpolation point between mx1 and mx2.

  • "general": Generic methods like stepwise and horiuchi using externally provided tools (e.g., from DemoDecomp).

pkg

Character. The package where the underlying decomp function resides.

Details

This registry helps centralize method metadata and supports internal operations like method matching, class-based routing, and printing.

See Also

available_methods, LEdecomp