## Not run:
# data(CH1903)
# yu.reg <- ReadPoly("path/to/my/shapefile.shp", proj = CH1903)
#
# data(yu.reg)
# names(yu.reg) <- "area.name"
# d.geo <- DistanceMatrix(yu.reg, "area.name", longlat = FALSE)
#
# data(homog_census)
# ImagePoly(poly=yu.reg,
# dataframe=homog_census,
# context.id="area.name",
# names ="Homog_00")
# ## End(Not run)
Run the code above in your browser using DataLab