Many thanks, but the problem that I have is that I am not able to include
the name of the different regions inside of the map with the variable.
in other words, I would like to include both the variable and the name of
each province. besides, I would like to make other scale instead of the
default value according with different threshold such as from 0 to 10 in
blue, from 11 to 20 in red and so on.

so if some of you know the answer ?

> The script is as following:
>
> install.packages("sp")
> library(sp)
>
> #load the map #
> mapchina<- url("http://www.gadm.org/data/rda/CHN_adm1.RData")
>
> load(mapchina)
> mapchina=gadm
>
> gadm$NAME_1   #shows the name of the Chinese regions
>
> #create the vector of data that we want to draw in the Chinese map,.
Notice
> that follow the same order that NAME_1 #
>
> valor=c(99.09,70.62,0,49.13,42.13,40.53,46.10,40.36,0,71.87,38.71,
> 82.36,69.76,62.68,76.17,70.43,47.96,42.34,49.65,44.42,0,41.19,66.42,
> 61.04,76.75,82.75,44.69,75.37,20.53,21.25,38.10,89.74)
>
> var1<-data.frame(valor)
>
> # add the vector of data into the map


mapa <- mapchina

> mapa@data=data.frame(var1)
>
> #plot the map
> spplot(mapa,c("valor"))

	[[alternative HTML version deleted]]

