Skip to contents

Main Resampling Function

This function provides easy access and uniform syntax to the resampling methodologies

resample()
Resample

Resampling Class

Methods to handle objects of class resampling

resampling()
Constructor of the resampling class
is.resampling()
Check a resampling object
as.data.frame(<resampling>)
Coerce to a data frame
print(<resampling>)
Print a resampling object
plot(<resampling>)
Plot a resampling object
getHoldOutSampleSize()
Get the hold-out sample size
getHoldOutSamples()
Get the left-out data
getNumberOfSamples()
Get the number of taken samples
getPopulationSize()
Get the population size
getRemovedElements()
Get the removed elements
getSampleSize()
Get the sample size
getSamples()
Get the sampled data
getSamplingMethodId()
Get the sampling method id

Repeated Sampling Functions

These functions are used to take repeated samples of the data

repeatedSampleWithoutReplacement()
Repeated Random Samples
repeatedSimpleRandomSampleWithoutReplacement()
Repeated Random Samples
repeatedPermutationSample()
Repeated Permutation Samples
repeatedStratifiedSampleWithoutReplacement()
Repeated Stratified Random Samples
repeatedBalancedSampleWithoutReplacement()
Repeated Balanced Random Samples
repeatedRandomKm1Folds()
Repeated k-1 Random Folds
repeatedStratifiedKm1Folds()
Repeated k-1 Stratified Folds
repeatedBalancedKm1Folds()
Repeated k-1 Balanced Folds
repeatedLeavePOut()
Repeated Leave-P-Out
repeatedLeaveOneOut()
Repeated Leave-One-Out
repeatedSampleWithReplacement()
Repeated Random Samples With Replacement
repeatedSimpleRandomSampleWithReplacement()
Repeated Simple Random Samples With Replacement
repeatedStratifiedSampleWithReplacement()
Repeated Stratified Random Samples With Replacement
repeatedBalancedSampleWithReplacement()
Repeated Balanced Random Samples With Replacement
repeatedBootstrapSample()
Repeated Bootstrap Samples

Sampling Functions

These functions are used to take random samples of the data

sampleWithoutReplacement()
Random Samples
simpleRandomSampleWithoutReplacement()
Random Samples
permutationSample()
Permutation Samples
stratifiedSampleWithoutReplacement()
Stratified Random Samples
balancedSampleWithoutReplacement()
Balanced Random Sample Without Replacement
randomKm1Folds()
K-1 Random Folds
stratifiedKm1Folds()
K-1 Stratified Folds
balancedKm1Folds()
K-1 Balanced Folds
randomKFolds()
Random K Folds
stratifiedKFolds()
Stratified K Folds
balancedKFolds()
Balanced K Folds
leavePOutSample()
Leave-P-Out Sampling
leaveOneOutSample()
Leave-One-Out Sampling
sampleWithReplacement()
Sample With Replacement
simpleRandomSampleWithReplacement()
Simple Random Sample With Replacement
stratifiedSampleWithReplacement()
Stratified Random Sample With Replacement
balancedSampleWithReplacement()
Balanced Random Sample With Replacement
bootstrapSample()
Ordinary Bootstrap Sample

Utility Functions

listAvailableSamplingMethods()
Available Random Sampling Methods
listSamplingFunctionNames()
Available Random Sampling Functions
listResamplingFunctionNames()
Available Random Resampling Functions
getSamplingFunction()
Get Sampling Function
getResamplingFunction()
Get Resampling Function