prep_newprediction | R Documentation |
Makes sure the factor levels in data_new
are aligned with data_old
This is helpful for demand simulations.
prep_newprediction(data_new, data_old)
data_new |
New long-format choice data |
data_old |
Old long-format choice data |
long-format choice data
data(icecream)
prep_newprediction(icecream, icecream)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.