Dear Users I am very new to the use of ggplot. I am supposed to make a plot of Italian provinces in which I have to fill the color of some provinces with the values of a variable(I do not provide the data because it is irrelevant which data to use).
Right now I explored the function map in maps package thanks to which I managed to plot the map of Italy with provinces borders and select only those provinces contained in the vector nomi(which is just a list of character elements with the names of the provinces which are just like counties in the US). map("italy",col=1:20, regions=nomi) The problem is to fill the provinces level with the values of a variable that is the variable of interest: I found a series of examples based on US data extracted from very hard to get databases. Can anyone provide an easy example where to start from? Thanks in advance Francesca ---------------------------------- Francesca Pancotto Professore Associato di Politica Economica Università degli Studi di Modena e Reggio Emilia Palazzo Dossetti - Viale Allegri, 9 - 42121 Reggio Emilia Office: +39 0522 523264 Web: https://sites.google.com/site/francescapancotto/ ---------------------------------- [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.