R/data.R

#' Example Two-Moons Data
#'
#' A small two-class two-moons data set for examples and tests.
#'
#' @format A data frame with 120 rows and 3 variables:
#' \describe{
#'   \item{x1}{First coordinate.}
#'   \item{x2}{Second coordinate.}
#'   \item{y}{Two-class factor with levels `B` and `A`.}
#' }
#'
#' @examples
#' data(twomoons)
#' str(twomoons)
"twomoons"

Try the twinsvm package in your browser

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

twinsvm documentation built on June 10, 2026, 1:06 a.m.