1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rset.R
\name{new_rset}
\alias{new_rset}
\title{Constructor for new rset objects}
\usage{
new_rset(splits, ids, attrib = NULL, subclass = character())
}
\arguments{
\item{splits}{A list column of \code{rsplits} or a tibble with a single column
called "splits" with a list column of \code{rsplits}.}
\item{ids}{A character vector or a tibble with one or more columns that
begin with "id".}
\item{attrib}{An optional named list of attributes to add to the object.}
\item{subclass}{A character vector of subclasses to add.}
}
\value{
An \code{rset} object.
}
\description{
Constructor for new rset objects
}
\details{
Once the new \code{rset} is constructed, an additional attribute called
"fingerprint" is added that is a hash of the \code{rset}. This can be used to
make sure other objects have the exact same resamples.
}
\keyword{internal}
|