dsg_take: Draw samples from a drift benchmark source

View source: R/dsg_benchmark.R

dsg_takeR Documentation

Draw samples from a drift benchmark source

Description

Draws n labelled samples from the current concept of a dsg_source().

Usage

dsg_take(source, n = 1)

Arguments

source

dsg_source object

n

Number of samples.

Value

list with the features x (data frame) and the labels y

Examples

set.seed(1)
sample <- dsg_take(dsg_sea(), 5)
sample$x
sample$y

heimdall documentation built on Dec. 2, 2026, 5:08 p.m.