R/data-drug_use.R

#' Drug use of students and parents
#'
#' Summary of 445 student-parent pairs.
#'
#'
#' @name drug_use
#' @docType data
#' @format A data frame with 445 observations on the following 2 variables.
#' \describe{
#'   \item{student}{a factor with levels \code{not} \code{uses}}
#'   \item{parents}{a factor with levels \code{not} \code{used}}
#'   }
#' @source Ellis GJ and Stone LH. 1979. Marijuana Use in College: An
#' Evaluation of a Modeling Explanation. Youth and Society 10:323-334.
#' @keywords datasets
#' @examples
#'
#' table(drug_use)
"drug_use"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.