modifyPropsAsBinLevels: Takes a categorical var specified in separate binary level...

modifyPropsAsBinLevelsR Documentation

Takes a categorical var specified in separate binary level variables and applies modifyProps and returns the result as a list of modified binary level variables.

Description

Takes a categorical var specified in separate binary level variables and applies modifyProps and returns the result as a list of modified binary level variables.

Usage

modifyPropsAsBinLevels(vecs.list, desiredProps, propens = NULL)

Arguments

vecs.list

vectors to modify, eg: simframe[binLevelVarnames]

desiredProps

desired proportions

propens

propensities, if ANY

Value

same list of vectors, but with proportions modified


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