nomad_model_.Rd
A nomad mobility model
new()
Create a new nomad
mobility model
nomad_model_$new(model, data_name)
model
mobility::mobility()
model
data_name
The model's name to link to nomad::mobility_db
predict()
newdata
a 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()
nsim
number of simulations (default = 1)
seed
optional 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,
...
)
M
Mobility Data
D
Distance Data
N_orig
Population Origin Data
N_dest
Population Destination Data
save_model_checks
Logical 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