Vote1980 | R Documentation |
Data from the 1982 General Social Survey on votes in the 1980 U.S. presidential election in relation to race and political conservatism.
data(Vote1980)
A frequency data frame representing a 2 x 7 x 2 table, with 28 observations on the following 4 variables.
race
a factor with levels NonWhite
White
conservatism
a factor with levels 1
2
3
4
5
6
7
,
1
=most liberal, 7
=most conservative
votefor
a factor with levels Carter
Reagan
; Carter
represents Jimmy Carter or other.
Freq
a numeric vector
The data contains a number of sampling zeros in the frequencies of NonWhites voting for Ronald Reagan.
Clogg, C. & Shockey, J. W. (1988). In Nesselroade, J. R. & Cattell, R. B. (ed.) Multivariate Analysis of Discrete Data, Handbook of Multivariate Experimental Psychology, New York: Plenum Press.
Agresti, A. (1990) Categorical Data Analysis, Table 4.12 New York: Wiley-Interscience.
Friendly, M. (2000) Visualizing Categorical Data, Example 7.5 Cary, NC: SAS Institute.
data(Vote1980)
fourfold(xtabs(Freq ~ race + votefor + conservatism,
data=Vote1980),
mfrow=c(2,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.