rsample (version 0.0.8)

new_rset: Constructor for new rset objects

Description

Constructor for new rset objects

Usage

new_rset(splits, ids, attrib = NULL, subclass = character())

Arguments

splits

A list column of rsplits or a tibble with a single column called "splits" with a list column of rsplits.

ids

A character vector or a tibble with one or more columns that begin with "id".

attrib

An optional named list of attributes to add to the object.

subclass

A character vector of subclasses to add.

Value

An rset object.