applyCatAdjustmentToSimframeVarMultipleBinary: Adjust the proportions of a simframe variable that exists in...

applyCatAdjustmentToSimframeVarMultipleBinaryR Documentation

Adjust the proportions of a simframe variable that exists in multiple binary level vectors, eg: SESBTHLvl1, SESBTHLvl2, SESBTHLvl3.

Description

Adjust the proportions of a simframe variable that exists in multiple binary level vectors, eg: SESBTHLvl1, SESBTHLvl2, SESBTHLvl3.

Usage

applyCatAdjustmentToSimframeVarMultipleBinary(
  Simenv,
  binLevelVarnames,
  desiredProps,
  propens,
  printAdj = TRUE,
  logiset = NULL
)

Arguments

Simenv

simenv receiving object. Simenv$simframe is modified.

binLevelVarnames

vector of binary level varnames, eg: c("z1accomLvl0","z1accomLvl1")

desiredProps

desired proportions

propens

propensities, if ANY

printAdj

if TRUE, display adjusted proportions after adjustment

logiset

logical vector indicating which rows to include, or NULL (the default) to include all.

Value

NULL. simframe in receiving object is modified directly.


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