create2CategoryPropensityArray: Create a propensity array from a dataframe, for a variable...

View source: R/CategoricalAdjustment.r

create2CategoryPropensityArrayR Documentation

Create a propensity array from a dataframe, for a variable with only 2 categories across multiple iterations.

Description

Create a propensity array from a dataframe, for a variable with only 2 categories across multiple iterations.

Usage

create2CategoryPropensityArray(df)

Arguments

df

dataframe containing 1 column per iteration. This column represents the propensity to change from the 1st category to the 2nd category.

Value

propensity array with rows - the values for each individual micro-unit cols - propensity to change from the 1st category to the 2nd category. z dim - iterations/years


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