create_state_dummies_from_vector | R Documentation |
Creates state dummies from vectors
create_state_dummies_from_vector(x, varname = "StateVar")
x |
Vector representing the state variable. |
varname |
Name of the state variable. |
A matrix where each column is a binary indicator for one state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.