View source: R/CategoricalAdjustment.r
createSingleIterationPropensityArray | R Documentation |
Create a propensity array from a dataframe, for only a single iteration.
createSingleIterationPropensityArray(df, iteration_name)
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.