Dear Colegues:

I have tried to reach Ray Brownrigg,   [EMAIL PROTECTED]
but my mails have turned back with the following comment
did not reach the following recipient(s):
[EMAIL PROTECTED] on Mon, 31 Jul 2006 12:52:39 +0100

There is no such account in the address

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I have a problem with the choropleths maps of the USA states=20

 In fact, when I use the following code

#####################################################

palette(gray(seq(0,.9,len=3D10)))

 ordena.estados<-c("ALABAMA","ARIZONA","ARKANSAS","CALIFORNIA","COLORADO",
"CONNECTICUT","DELAWARE","FLORIDA","GEORGIA","IDAHO","ILLINOIS","INDIANA","=
IOWA",
"KANSAS",
"KENTUCKY","LOUISIANA","MAINE","MARYLAND","MASSACHUSETTS","MICHIGAN","MINNE=
SOTA","MISSISSIPI",
 "MISSOURI", "MONTANA","NEBRASKA","NEVADA","NEW HAMPSHIRE","NEW JERSEY",
"NEW MEXICO","NEW YORK",
"NORTH CAROLINA","NORTH DAKOTA","OHIO","OKLAHOMA","OREGON","PENNSYLVANIA","=
RHODE ISLAND",
"SOUTH CAROLINA",
"SOUTH DAKOTA","TENNESSEE","TEXAS","UTAH","VERMONT","VIRGINIA","WASHINGTON",
"WEST VIRGINIA","WISCONSIN","WYOMING")

W<-c(1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1=
,1,1,1,1,1,1,1,1,1,1,1,1,1)

mapa.sat<-map('state', region =3D ordena.estados,fill=3DT,col=3DW)=20=20

#####################################################

That should paint all the states with the same colour except   "ARIZONA" , =
 I get the  "UTAH" state also coloured as "ARIZONA".

The same thing happens with some other states, I get two states coloured in=
stead of one.

Is there any problem with the way I have made the ranking of states in "ord=
ena.estados"?





=20

Thank you for any help.

Sincerely

Luc=EDlia Carvalho









        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to