Nothing
The {logitr} package requires that data be structured in a data.frame
and arranged in a "long" format [@Wickham2014] where each row contains data on a single alternative from a choice observation. The choice observations do not have to be symmetric, meaning they can have a "ragged" structure where different choice observations have different numbers of alternatives. The data must also include variables for each of the following:
1
is chosen, 0
is not chosen). Only one alternative should have a 1
per choice observation.obsID
variable would be 1, 1, 2, 2, 3, 3
.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.