create_state_dummies_from_datamatrix: Create State Dummies from Matrix
Description
Creates state dummies from matrix-like objects
Usage
create_state_dummies_from_datamatrix(x)
Value
A matrix where each column is a binary indicator for one state.
Arguments
- x
Matrix or data frame where each column represents a state variable.