R/data-classdata.R

#' Simulated class data
#'
#' This data is simulated and is meant to represent students scores from three
#' different lectures who were all given the same exam.
#'
#'
#' @name classdata
#' @docType data
#' @format A data frame with 164 observations on the following 2 variables.
#' \describe{
#'   \item{m1}{Represents a first midterm score.}
#'   \item{lecture}{Three classes: \code{a}, \code{b}, and \code{c}.}
#'   }
#' @references OpenIntro Statistics, Chapter 8.
#' @keywords datasets
#' @examples
#'
#' anova(lm(m1 ~ lecture, classdata))
"classdata"

Try the openintro package in your browser

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

openintro documentation built on June 22, 2024, 7:37 p.m.