Description Usage Arguments Value Examples
Estimate a migramod model via linear optimization
1 | fit_migramod (dataIn, parameters_0, model.rc)
|
dataIn |
Empirical (out/in) migration rates for estimation. |
parameters_0 |
Set of initial parameters for selected Rogers and Castro model equation. |
model.rc |
Object of class migramod with usually a Rogers and Castro model expression. |
A list of values calculated in the minimization as OptimResult, R squared or MAPE.
1 2 3 4 5 6 7 8 9 | ## Not run:
param0 <- genRandomPar(profile='seven')
name = 'Parametric_model',
expr = rc_expression(profile = 'seven') ,
dataIn = dataIn
)
fit_migramod(dataIn, param0, model.rc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.