logitProbs | R Documentation |
Returns a data frame of the predicted probabilities (with a confidence) interval) for a set of coefficients (or coefficient draws) and a data frame of alternatives.
logitProbs(coefs, newdata, obsID = NULL, ci = 0.95)
coefs |
A matrix of coefficients or draws of coefficients. |
newdata |
A data frame of a set of alternatives for which to compute logit probabilities. Each row is an alternative. |
obsID |
The name of the column that identifies each set of
alternatives. Defaults to |
ci |
The sensitivity of the computed confidence interval (CI).
Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.