Plots of Multidimensional Poverty Measures
Arguments
- data
Data frameof Multidimensional Poverty measures which is an object frommdpi- kala
color palette with at least 15 colors but must be equal or higher than the number of options in the factor argument
- dma
number of
Dimensionsinvolved in the computation of Multidimensional Poverty measures.- factor
the optional grouping factor used in the computation measures. If not supplied only the national plots will be produced irrespective of whether the factor was used in the computation.
Value
A list of the following plots:
Multidimensional poverty indexplot.
Deprivation Scoreplot.
Adjusted incidence of povertyplot.
Intensity of povertyplot.
Average deprivation among the deprivedplot.
Contribution of each Dimensionplot.
combined dimensionsplot.
nationalplot.
combined dimensions of nationalplot.
Examples
# Not run, uncomment to run
# library(MPI)
# data("examplePovertydf")
# data <- examplePovertydf
# dm <- list(d1 = c("Child.Mortality", "Access.to.health.care"),
# d2 = c("Years.of.education", "School.attendance", "School.lag"),
# d3 = c("Cooking.Fuel", "Access.to.clean.source.of.water",
# "Access.to.an.improve.sanatation", "Electricity",
# "Housing.Materials", "Asset.ownership"))
# dp <- mdpi(data, dm, Factor = "Region")
# library(MetBrewer)
# kala <- met.brewer("OKeeffe1", 15, type = "continuous")
# dma <- 3
# plot_mdpi(dp$MDPI, kala, dma, "Region")
