modifyPropsAsBinLevels | R 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.
modifyPropsAsBinLevels(vecs.list, desiredProps, propens = NULL)
vecs.list |
vectors to modify, eg: simframe[binLevelVarnames] |
desiredProps |
desired proportions |
propens |
propensities, if ANY |
same list of vectors, but with proportions modified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.