get.data.check.discrete | R Documentation |
For example, it checks if the endogenous variable in binary model is 0 and 1 (number of choices is 2)
get.data.check.discrete(data, colIndex = 1)
data |
Output of get.data function |
colIndex |
The index of column to be checked. |
Number of choices in the model, if no error occured. This means, the maximum value for the discrete data will be the output minus one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.