Learn R Programming

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

rsample (version 0.1.0)

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

60,681

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 8th, 2021

Functions in rsample (0.1.0)

as.data.frame.rsplit

Convert an rsplit object to a data frame
complement

Determine the Assessment Samples
gather.rset

Gather an rset Object
bootstraps

Bootstrap Sampling
apparent

Sampling for the Apparent Error Rate
drinks

Sample Time Series Data
add_resample_id

Augment a data set with resampling identifiers
form_pred

Extract Predictor Names from Formula or Terms
attrition

Job Attrition
.get_fingerprint

Obtain a identifier for the resamples
int_pctl

Bootstrap confidence intervals
mc_cv

Monte Carlo Cross-Validation
manual_rset

Manual resampling
group_vfold_cv

Group V-Fold Cross-Validation
initial_split

Simple Training/Test Set Splitting
rsample

rsample: General Resampling Infrastructure for R
rsample-dplyr

Compatibility with dplyr
new_rset

Constructor for new rset objects
nested_cv

Nested or Double Resampling
labels.rset

Find Labels from rset Object
slide-resampling

Time-based Resampling
tidy.rsplit

Tidy Resampling Object
labels.rsplit

Find Labels from rsplit Object
rsample2caret

Convert Resampling Objects to Other Formats
permutations

Permutation sampling
loo_cv

Leave-One-Out Cross-Validation
populate

Add Assessment Indices
reg_intervals

A convenience function for confidence intervals with linear-ish parametric models
validation_split

Create a Validation Set
two_class_dat

Two Class Data
rset_reconstruct

Extending rsample with new rset subclasses
vfold_cv

V-Fold Cross-Validation
rolling_origin

Rolling Origin Forecast Resampling
make_splits

Constructor for split objects
make_strata

Create or Modify Stratification Variables
pretty.vfold_cv

Short Descriptions of rsets
reexports

Objects exported from other packages