The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Simple Simulation

library(MPI)
library(kableExtra) 

Loading Data

MPI::examplePovertydf is a simulation poverty data frame contains 16 indicators column which 1 means deprived and 0 means not deprived, and simulated forth-level administrative division of France.

data(examplePovertydf)
Access to health care Child Mortality Access to clean source of water Access to an improve sanatation Electricity Asset ownership Cooking Fuel Housing Materials School lag School attendance Years of education Region
1 0 1 0 1 1 1 0 0 0 1 Olmeto
0 0 1 1 0 0 0 0 1 1 1 Olmeto
1 0 1 1 1 1 1 0 0 0 0 Olmeto

Calculation

For calculating MPI using AF_Seq for sequential run or AF_Par for parallel run.

Input will be

out_seq <- AF_Seq(examplePovertydf, g = "Region", k = 3)

Output will be list of lists separated into group, and each list contains

## [1] "Bastia"
## [1] 2
## [1] 2
## [1] 1
## [1] 0.4090909
## [1] 0.4090909

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.