Last data update: 2014.03.03

R: Results of the 2004 US presidential election at the county...
USelectR Documentation

Results of the 2004 US presidential election at the county level(SpatialPolygonsDataFrame)

Description

Results of the 2004 US presidential election at the county level, together with five socio-economic (census) variables.

Usage

data(USelect)

Format

A SpatialPolygonsDataFrame with 3111 electoral divisions on the following 6 variables.

winner

Categorical variable with three classes: i) Bush, ii) Kerry and iii) Borderline (supporting ratio for a candidate ranges from 0.45 to 0.55)

unemployed

percentage unemployed

pctcoled

percentage of adults over 25 with 4 or more years of college education

PEROVER65

percentage of persons over the age of 65

pcturban

percentage urban

WHITE

percentage white

References

ROBINSON, A. C. (2013). Geovisualization of the 2004 Presidential Election. In: NATIONAL INSTITUTES OF HEALTH, P. S. U. (ed.). Penn State: http://www.personal.psu.edu/users/a/c/acr181/election.html.

FOLEY, P. & DEMSAR, U. (2012). Using geovisual analytics to compare the performance of geographically weighted discriminant analysis versus its global counterpart, linear discriminant analysis. International Journal of Geographical Information Science, 27, 633-661.

Examples


data(USelect)
ls()

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(GWmodel)
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
Loading required package: robustbase
Welcome to GWmodel version 1.2-5.
 Note: The default kernel for all the functions have been set as bisquare from this release
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GWmodel/USelect.rd_%03d_medium.png", width=480, height=480)
> ### Name: USelect
> ### Title: Results of the 2004 US presidential election at the county
> ###   level(SpatialPolygonsDataFrame)
> ### Aliases: USelect2004
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 
> data(USelect)
> ls()
[1] "USelect2004"
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>