R/hdpGLM_data.R

#' Fake data set with 2000 observations
#'
#' A dataset containing simulated data about public opinion in different
#' countries
#'
#' @format A data frame with 2000 rows and 6 variables:
#' \describe{
#'   \item{support}{support for welfare policies}
#'   \item{inequality}{levels of inequality in the neighborhood}
#'   \item{income}{individual-level income}
#'   \item{ideology}{individual-level ideology}
#'   \item{country}{country label or index}
#'   \item{gap}{country-level gender gap in country's provision of public good}
#' }
#' @source Simulated data
"welfare2"


#' Fake data set with 2000 observations
#'
#' A dataset containing simulated data about public opinion
#'
#' @format A data frame with 2000 rows and 4 variables:
#' \describe{
#'   \item{support}{support for welfare policies}
#'   \item{inequality}{levels of inequality in the neighborhood}
#'   \item{income}{individual-level income}
#'   \item{ideology}{individual-level ideology}
#' }
#' @source Simulated data
"welfare"

Try the hdpGLM package in your browser

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

hdpGLM documentation built on Oct. 13, 2023, 1:17 a.m.