Learn R Programming

hbamr (version 2.3.2)

LC1980: 1980 Liberal-Conservative Scales

Description

Liberal-Conservative 7-point scales from the 1980 National Election Study. Includes (in order) self-placement, and rankings of Carter, Reagan, Kennedy, Anderson, Republican party, Democratic Party. Stored as a matrix of integers. The numbers 0, 8, and 9 are considered to be missing values.

Usage

data(LC1980)

Arguments

Format

An object of class matrix (inherits from array) with 888 rows and 7 columns.

Examples

Run this code
data(LC1980)
LC1980[LC1980 == 0 | LC1980 == 8 | LC1980 == 9] <- NA
head(LC1980)

Run the code above in your browser using DataLab