Description Usage Arguments Value Examples
View source: R/helper_functions.R
Extract the availabilites matrix from the dataset using a column name prefix
1 | extract_av_cols(data, prefix)
|
data |
The dataset used in the model |
prefix |
The prefix of the availability columns, i.e. avail_ |
Matrix of availabilities for alternatives and the number of choice observations
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.