Skip to contents

Creates a data matrix consistent with built-in model forms

Usage

create_logit_input(choice)

Arguments

choice

A dataframe with a single vector of chosen locations with length = number of observations

Value

dataCompile: A large data matrix.Number of rows = the number of observations, number of cols = square of number of alternatives. Each row contains a flattened identity matrix of size = number of alternatives x number of alternatives.

Details

Called in the discrete_fish_subroutine function