Learn R Programming

⚠️There's a newer version (1.3.2) of this package.Take me there.

rsample (version 0.0.6)

General Resampling Infrastructure

Description

Classes and functions to create and summarize different types of resampling objects (e.g. bootstrap, cross-validation).

Copy Link

Version

Install

install.packages('rsample')

Monthly Downloads

54,002

Version

0.0.6

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Max Kuhn

Last Published

March 31st, 2020

Functions in rsample (0.0.6)

complement

Determine the Assessment Samples
bootstraps

Bootstrap Sampling
as.data.frame.rsplit

Convert an rsplit object to a data frame
nested_cv

Nested or Double Resampling
form_pred

Extract Predictor Names from Formula or Terms
make_strata

Create or Modify Stratification Variables
drinks

Sample Time Series Data
new_rset

Constructor for new rset objects
gather.rset

Gather an rset Object
populate

Add Assessment Indicies
mc_cv

Monte Carlo Cross-Validation
add_resample_id

Augment a data set with resampling identifiers
attrition

Job Attrition
rsample

rsample: General Resampling Infrastructure for R
rsample2caret

Convert Resampling Objects to Other Formats
apparent

Sampling for the Apparent Error Rate
labels.rset

Find Labels from rset Object
group_vfold_cv

Group V-Fold Cross-Validation
int_pctl

Bootstrap confidence intervals
validation_split

Create a Validation Set
initial_split

Simple Training/Test Set Splitting
vfold_cv

V-Fold Cross-Validation
labels.rsplit

Find Labels from rsplit Object
pretty.vfold_cv

Short Decriptions of rsets
tidy.rsplit

Tidy Resampling Object
loo_cv

Leave-One-Out Cross-Validation
make_splits

Constructor for split objects
rolling_origin

Rolling Origin Forecast Resampling
reexports

Objects exported from other packages
two_class_dat

Two Class Data