HK2_result_collector: Tailored collection of parameters produced by...

View source: R/HK2_decomposition.R

HK2_result_collectorR Documentation

Tailored collection of parameters produced by HK2_decomposition.

Description

Tailored collection of parameters produced by HK2_decomposition.

Usage

HK2_result_collector(
  HK2_decomposition,
  parameter = "adim",
  t_aggregate = c(3, 2),
  x_aggregate = c(3, 2)
)

Arguments

HK2_decomposition

Object of class HK2_decomposition.

parameter

Parameter to be collected. Either "adim" or "dim" for the respective decomposition or a subset of 1:14. Default "adim".

t_aggregate

Integer scalar of vector of length two specifying treatment aggregate to be collected. 1 is reserved for collection of all treaments. If single integer, level is extracted. Vector of length two like c(3,2) provides aggregate 2 minus aggregate 1.

x_aggregate

Integer scalar of vector of length two specifying covariate aggregate to be collected. If single integer, level is extracted. 1 is reserved for the unconditional version. vector of length two like c(3,2) provides aggregate 2 minus aggregate 1.


MCKnaus/causalDML documentation built on June 11, 2025, 12:30 a.m.