View source: R/model_evaluation.R
get_cov | R Documentation |
This convenience function returns the covariates and the choices of specific choice occasions.
get_cov(x, id, idc, idc_label)
x |
Either an object of class |
id |
A numeric (vector), that specifies the decider(s). |
idc |
A numeric (vector), that specifies the choice occasion(s). |
idc_label |
The name of the column that contains the choice occasion identifier. |
A subset of the choice_data
data frame specified in prepare_data()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.