From jackman@stanford.edu  Wed Aug 16 18:16:56 2000
From: jackman@stanford.edu (jackman@stanford.edu)
Date: Wed, 16 Aug 2000 19:16:56 +0200 (MET DST)
Subject: [Rd] state name abbreviations (PR#636)
Message-ID: <200008161716.TAA18739@pubhealth.ku.dk>

Full_Name: Simon Jackman
Version: 1.0
OS: win32, linux
Submission from: (NULL) (207.75.155.177)


the abbreivated state names given in data(state) contain numerous errors. 
Florida, 
Hawaii, Iowa, Michigan and Nebraska are wrongly abbreviated. 

compare R with S-plus on this.
> version
platform Windows   
arch     x86       
os       Win32     
system   x86, Win32
status             
major    1         
minor    1.0       
year     2000      
month    June      
day      15        
language R         
> data(state)
> state.abb
 [1] "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "FA" "GA" "HA" "ID" "IL" "IN" "IO"
[16] "KS" "KY" "LA" "ME" "MD" "MA" "MC" "MN" "MS" "MO" "MT" "NB" "NV" "NH" "NJ"
[31] "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT"
[46] "VA" "WA" "WV" "WI" "WY"

but, say on splus for linux:
S-PLUS : Copyright (c) 1988, 1999 MathSoft, Inc.
S : Copyright Lucent Technologies, Inc.
Version 5.1 Release 1 for Linux 2.0.31 : 1999 
Working data will be in .Data 
> state.abb
 [1] "AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA"
[16] "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ"
[31] "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT"
[46] "VA" "WA" "WV" "WI" "WY"



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] state name abbreviations (PR#636)
jackman@stanford.edu