Description Usage Arguments Examples
This function generates a new column containing the conditional logit corresponding to a covariate.
1 | GenerateLogit(Data, CrossTable, Covariate, UseLogit = T)
|
Data |
A data.frame or data.table for which a new column will be generated in. |
CrossTable |
A cross table with the different levels of the covariate. |
Covariate |
The name of the covariate. |
UseLogit |
If the value is TRUE, the join will be based on a column named "Logit". Otherwise, it will look for a column named "Score". |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.