adjustCatVarCalib: Adjust categorical values to desired proportions in...

View source: R/Simmodule.r

adjustCatVarCalibR Documentation

Adjust categorical values to desired proportions in cat.adjustments (if any).

Description

Allows subgroup adjustment if a subgroup expression attribute is attached to the cat.adjustments.

Usage

adjustCatVarCalib(
  x,
  varname,
  propens = NULL,
  desiredProps = NULL,
  simenv = simenv,
  iteration = iteration
)

Arguments

x

categorical values to adjust

varname

varname, used a lookup into cat.adjustments and propensities


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.