R/LC1980.R

#' 1980 Liberal-Conservative Scales
#'
#' 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.
#'
#' @docType data
#'
#' @usage data(LC1980)
#'
#' @keywords datasets
#'
#' @source American National Election Studies: \href{https://electionstudies.org/}{www.electionstudies.org/}.
#'
#' This dataset was originally part of the `basicspace` package under the same name ("LC1980").
#'
#' @examples
#' data(LC1980)
#' LC1980[LC1980 == 0 | LC1980 == 8 | LC1980 == 9] <- NA
#' head(LC1980)
"LC1980"

Try the hbamr package in your browser

Any scripts or data that you put into this service are public.

hbamr documentation built on Sept. 23, 2024, 5:10 p.m.