R/cls_data_2026.R

#' Two classes, Two predictors 2026 Edition
#'
#' Used for the 2026 posit::conf tidymdoels workshop. The data contain two
#' predictors (`pred_1` and `pred_2`) and a factor colmnn (`class`) with
#' levels `"class_1"` and `"class_2"`. There are 1,000 rows in the data.
#'
#' @name cls_data_2026
#' @aliases cls_data_2026
#' @docType data
#' @return \item{cls_data_2026}{a data frame}
#'
#' @keywords datasets
#' @examples
#' data(cls_data_2026)
#' str(cls_data_2026)
NULL

Try the modeldata package in your browser

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

modeldata documentation built on Aug. 21, 2026, 5:13 p.m.