nomad_model_.RdA nomad mobility model
new()Create a new nomad mobility model
nomad_model_$new(model, data_name)modelmobility::mobility() model
data_nameThe model's name to link to nomad::mobility_db
predict()newdataa list containing new data to used in model prediction.
If NULL (the default) the function will simulate the model with
the data used for fitting. See mobility::predict()
nsimnumber of simulations (default = 1)
seedoptional integer specifying the call to set.seed
prior to model simulation (default = NULL)
...further arguments passed to or from other methods
remove_model_data()nomad_model_$remove_model_data(
M = FALSE,
D = FALSE,
N_orig = FALSE,
N_dest = FALSE,
save_model_checks = FALSE,
...
)MMobility Data
DDistance Data
N_origPopulation Origin Data
N_destPopulation Destination Data
save_model_checksLogical to save model check results. Default = FALSE
...further arguments passed to png() for saving model check plot
Get model object
get_model()Underlying mobility::mobility() model
Get data name