createSingleIterationPropensityArray: Create a propensity array from a dataframe, for only a single...

View source: R/CategoricalAdjustment.r

createSingleIterationPropensityArrayR Documentation

Create a propensity array from a dataframe, for only a single iteration.

Description

Create a propensity array from a dataframe, for only a single iteration.

Usage

createSingleIterationPropensityArray(df, iteration_name)

Arguments

df

dataframe containing n columns where n is one less than the number of categories. This column represents the propensity to change from the 1st category to the 2nd category.

iteration_name

used to label the single iteration in the z dim

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. Only 1 iteration.


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