R/two_class_dat.R

#' Two class data
#'
#' @details There are artifical data with two predictors (`A` and `B`) and
#'  a factor outcome variable (`Class`).
#'
#' @name two_class_dat
#' @aliases two_class_dat
#' @docType data
#' @return \item{two_class_dat}{a data frame}
#'
#' @keywords datasets
#' @examples
#' data(two_class_dat)
#' str(two_class_dat)
NULL

#' Two class predictions
#'
#' @details These data are a test set form a model built for two
#'  classes ("Class1" and "Class2"). There are columns for the true
#'  and predicted classes and column for the probabilities for each
#'  class.
#'
#' @name two_class_example
#' @aliases two_class_example
#' @docType data
#' @return \item{two_class_example}{a data frame}
#'
#' @keywords datasets
#' @examples
#' data(two_class_example)
#' str(two_class_example)
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. 9, 2023, 5:10 p.m.