The R Project SVN R

Rev

Rev 2016 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2016 Rev 10311
Line 1... Line 1...
1
"state.abb" <-
1
state.abb <-
2
c("AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "FA", "GA", "HA", "ID", 
2
c("AL", "AK", "AZ", "AR", "CA",
-
 
3
  "CO", "CT", "DE", "FL", "GA",
-
 
4
  "HI", "ID", "IL", "IN", "IA",
3
"IL", "IN", "IO", "KS", "KY", "LA", "ME", "MD", "MA", "MC", "MN", "MS", 
5
  "KS", "KY", "LA", "ME", "MD",
-
 
6
  "MA", "MI", "MN", "MS", "MO",
-
 
7
  "MT", "NE", "NV", "NH", "NJ",
4
"MO", "MT", "NB", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", 
8
  "NM", "NY", "NC", "ND", "OH",
-
 
9
  "OK", "OR", "PA", "RI", "SC",
5
"OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", 
10
  "SD", "TN", "TX", "UT", "VT",
6
"WI", "WY")
11
  "VA", "WA", "WV", "WI", "WY")
-
 
12
 
-
 
13
state.name <-
-
 
14
c("Alabama", "Alaska", "Arizona", "Arkansas", "California",
-
 
15
  "Colorado","Connecticut", "Delaware", "Florida", "Georgia",
-
 
16
  "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa",
-
 
17
  "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland",
-
 
18
  "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri",
-
 
19
  "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey",
-
 
20
  "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio",
-
 
21
  "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina",
-
 
22
  "South Dakota", "Tennessee", "Texas", "Utah", "Vermont",
-
 
23
  "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming")
-
 
24
 
7
"state.area" <-
25
"state.area" <-
8
c(51609, 589757, 113909, 53104, 158693, 104247, 5009, 2057, 58560, 58876, 
26
c(51609, 589757, 113909, 53104, 158693, 104247, 5009, 2057, 58560, 58876,
9
6450, 83557, 56400, 36291, 56290, 82264, 40395, 48523, 33215, 10577, 8257, 
27
6450, 83557, 56400, 36291, 56290, 82264, 40395, 48523, 33215, 10577, 8257,
10
58216, 84068, 47716, 69686, 147138, 77227, 110540, 9304, 7836, 121666, 
28
58216, 84068, 47716, 69686, 147138, 77227, 110540, 9304, 7836, 121666,
11
49576, 52586, 70665, 41222, 69919, 96981, 45333, 1214, 31055, 77047, 42244, 
29
49576, 52586, 70665, 41222, 69919, 96981, 45333, 1214, 31055, 77047, 42244,
12
267339, 84916, 9609, 40815, 68192, 24181, 56154, 97914)
30
267339, 84916, 9609, 40815, 68192, 24181, 56154, 97914)
-
 
31
 
13
"state.center" <-
32
"state.center" <-
14
list(x = c(-86.7509, -127.25, -111.625, -92.2992, -119.773, -105.513,
33
list(x = c(-86.7509, -127.25, -111.625, -92.2992, -119.773, -105.513,
15
           -72.3573, -74.9841, -81.685, -83.3736, -126.25, -113.93,
34
           -72.3573, -74.9841, -81.685, -83.3736, -126.25, -113.93,
16
           -89.3776, -86.0808, -93.3714, -98.1156, -84.7674, -92.2724,
35
           -89.3776, -86.0808, -93.3714, -98.1156, -84.7674, -92.2724,
17
           -68.9801, -76.6459, -71.58, -84.687, -94.6043, -89.8065,
36
           -68.9801, -76.6459, -71.58, -84.687, -94.6043, -89.8065,
Line 26... Line 45...
26
           42.3645, 43.1361, 46.3943, 32.6758, 38.3347, 46.823, 41.3356,
45
           42.3645, 43.1361, 46.3943, 32.6758, 38.3347, 46.823, 41.3356,
27
           39.1063, 43.3934, 39.9637, 34.4764, 43.1361, 35.4195,
46
           39.1063, 43.3934, 39.9637, 34.4764, 43.1361, 35.4195,
28
           47.2517, 40.221, 35.5053, 43.9078, 40.9069, 41.5928, 33.619,
47
           47.2517, 40.221, 35.5053, 43.9078, 40.9069, 41.5928, 33.619,
29
           44.3365, 35.6767, 31.3897, 39.1063, 44.2508, 37.563, 47.4231,
48
           44.3365, 35.6767, 31.3897, 39.1063, 44.2508, 37.563, 47.4231,
30
           38.4204, 44.5937, 43.0504))
49
           38.4204, 44.5937, 43.0504))
-
 
50
 
31
"state.division" <-
51
"state.division" <-
32
structure(factor(c(4, 9, 8, 5, 9, 8, 1, 3, 3, 3, 9, 8, 6, 6, 7, 7, 4, 5, 
52
structure(factor(c(4, 9, 8, 5, 9, 8, 1, 3, 3, 3, 9, 8, 6, 6, 7, 7, 4, 5,
33
1, 3, 1, 6, 7, 4, 7, 8, 7, 8, 1, 2, 8, 2, 3, 7, 6, 5, 9, 2, 1, 3, 7, 4, 
53
1, 3, 1, 6, 7, 4, 7, 8, 7, 8, 1, 2, 8, 2, 3, 7, 6, 5, 9, 2, 1, 3, 7, 4,
34
5, 8, 1, 3, 9, 3, 6, 8), levels=1:9), .Label = c("New England",
54
5, 8, 1, 3, 9, 3, 6, 8), levels=1:9),
35
"Middle Atlantic", "South Atlantic", "East South Central",
55
 .Label = c("New England", "Middle Atlantic", "South Atlantic",
36
"West South Central", "East North Central", "West North Central",
56
            "East South Central", "West South Central", "East North Central",
37
"Mountain", "Pacific"))
-
 
38
"state.name" <-
-
 
39
c("Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", 
-
 
40
"Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", "Illinois", 
-
 
41
"Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", 
57
            "West North Central", "Mountain", "Pacific"))
42
"Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", 
-
 
43
"Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", 
-
 
44
"North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", 
-
 
45
"Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", 
-
 
46
"Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", 
-
 
47
"Wyoming")
58
 
48
"state.region" <-
59
"state.region" <-
49
structure(factor(c(2, 4, 4, 2, 4, 4, 1, 2, 2, 2, 4, 4, 3, 3, 3, 3, 2, 2, 
60
structure(factor(c(2, 4, 4, 2, 4, 4, 1, 2, 2, 2, 4, 4, 3, 3, 3, 3, 2, 2,
50
1, 2, 1, 3, 3, 2, 3, 4, 3, 4, 1, 1, 4, 1, 2, 3, 3, 2, 4, 1, 1, 2, 3, 2, 
61
1, 2, 1, 3, 3, 2, 3, 4, 3, 4, 1, 1, 4, 1, 2, 3, 3, 2, 4, 1, 1, 2, 3, 2,
51
2, 4, 1, 2, 4, 2, 3, 4), levels=1:4), .Label = c("Northeast", "South", 
62
2, 4, 1, 2, 4, 2, 3, 4), levels=1:4),
52
"North Central", "West"))
63
 .Label = c("Northeast", "South", "North Central", "West"))
-
 
64
 
53
"state.x77" <-
65
"state.x77" <-
54
structure(c(3615, 365, 2212, 2110, 21198, 2541, 3100, 579, 8277, 4931,
66
structure(c(3615, 365, 2212, 2110, 21198, 2541, 3100, 579, 8277, 4931,
55
            868, 813, 11197, 5313, 2861, 2280, 3387, 3806, 1058, 4122,
67
            868, 813, 11197, 5313, 2861, 2280, 3387, 3806, 1058, 4122,
56
            5814, 9111, 3921, 2341, 4767, 746, 1544, 590, 812, 7333,
68
            5814, 9111, 3921, 2341, 4767, 746, 1544, 590, 812, 7333,
57
            1144, 18076, 5441, 637, 10735, 2715, 2284, 11860, 931, 2816,
69
            1144, 18076, 5441, 637, 10735, 2715, 2284, 11860, 931, 2816,
Line 90... Line 102...
90
            9891, 7826, 56817, 79289, 47296, 68995, 145587, 76483,
102
            9891, 7826, 56817, 79289, 47296, 68995, 145587, 76483,
91
            109889, 9027, 7521, 121412, 47831, 48798, 69273, 40975,
103
            109889, 9027, 7521, 121412, 47831, 48798, 69273, 40975,
92
            68782, 96184, 44966, 1049, 30225, 75955, 41328, 262134,
104
            68782, 96184, 44966, 1049, 30225, 75955, 41328, 262134,
93
            82096, 9267, 39780, 66570, 24070, 54464, 97203),
105
            82096, 9267, 39780, 66570, 24070, 54464, 97203),
94
          .Dim = c(50, 8),
106
          .Dim = c(50, 8),
95
          .Dimnames = list(
107
          .Dimnames = list(state.name,
96
          c("Alabama", "Alaska", "Arizona", "Arkansas", "California",
-
 
97
            "Colorado", "Connecticut", "Delaware", "Florida", "Georgia",
-
 
98
            "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas",
-
 
99
            "Kentucky", "Louisiana", "Maine", "Maryland",
-
 
100
            "Massachusetts", "Michigan", "Minnesota", "Mississippi",
-
 
101
            "Missouri", "Montana", "Nebraska", "Nevada",
-
 
102
            "New Hampshire", "New Jersey", "New Mexico", "New York",
-
 
103
            "North Carolina", "North Dakota", "Ohio", "Oklahoma",
-
 
104
            "Oregon", "Pennsylvania", "Rhode Island", "South Carolina",
-
 
105
            "South Dakota", "Tennessee", "Texas", "Utah", "Vermont",
-
 
106
            "Virginia", "Washington", "West Virginia", "Wisconsin",
-
 
107
            "Wyoming"),
-
 
108
          c("Population", "Income", "Illiteracy", "Life Exp", "Murder",
108
          c("Population", "Income", "Illiteracy", "Life Exp", "Murder",
109
            "HS Grad", "Frost", "Area")))
109
            "HS Grad", "Frost", "Area")))
-
 
110
 
-
 
111