choice_to_lofi.Rd
Convert a choice from a list of options to a lofi bit representation
choice_to_lofi(choice, options) lofi_to_choice(lofi, options)
choice | value to convert to lofi representation |
---|---|
options | the reference list of options it should be coded from |
lofi | low-bit representation |
low-bit representation i.e. the index of the choice in the list of options