create_state_dummies_from_vector {desla} | R Documentation |
Create State Dummies from Vector
Description
Creates state dummies from vectors
Usage
create_state_dummies_from_vector(x, varname = "StateVar")
Arguments
x |
Vector representing the state variable. |
varname |
Name of the state variable. |
Value
A matrix where each column is a binary indicator for one state.
[Package desla version 0.3.0 Index]