Function to plot synthetic migration estimates
plot_migmod.Rd
Function to plot synthetic migration estimates
Arguments
- df
A data frame with migration data for sending countries, receiving countries, data quality measures and covariates
- mmfit
A
stanfit
object produced by the functionmigmod_m
that contains estimates of the model parameters and synthetic estimates of the "true" migration.- sending
A vector of ISO2 codes with sending countries to be used in the model (recommended to keep SE and FI)
- receiving
A vector of ISO2 codes with receiving countries to be used in the model (recommended to keep SE and FI)
- years
A vector of years to be used in the model (2010 to 2019)