Takes the structure of data compile, price (for EPM), distance, gridvarying, interaction terms
Usage
create_model_input(
project,
x = NULL,
mod.name = NULL,
use.scalers = FALSE,
scaler.func = NULL,
expected.catch = NULL,
exp.names = NULL
)
Arguments
- project
Project name
- x
Optional, Model input data
- mod.name
Optional, name of model. Include if building model data for specific defined model.
- use.scalers
Logical, should data be normalized? Defaults to
FALSE
. Rescaling factors are the mean of the numeric vector unless specified withscaler.func
.- scaler.func
Function to calculate rescaling factors.
- expected.catch
For conditional logit. Expected catch matrices to include
- exp.names
The names of expected catch matrices to use in model. Specified in
make_model_design
.