inst/doc/MTA_Scenario.R

## ----input, fig.width=7, fig.height=5, warning = FALSE, cache = TRUE-----
# load packages
library(MTA)
library(cartography)
library(sp)
library(ineq)
library(reshape2)

# load dataset
data("GrandParisMetropole", package = "MTA")
# set row names to communes names
row.names(com) <- com$LIBCOM

Try the MTA package in your browser

Any scripts or data that you put into this service are public.

MTA documentation built on May 14, 2018, 5:03 p.m.