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:



Try the logitr package in your browser

Any scripts or data that you put into this service are public.

logitr documentation built on Sept. 29, 2023, 5:06 p.m.