selectSubsample: The selectSubsample function

Description Usage Arguments Value

Description

Internal. Select the samples for each bootstrap iteration. Although it is only one line, we put this task in its own function to easily add more functionality in the future, like also subsetting the features, or giving different weights for the samples

Usage

1
selectSubsample(nSamples, propSamples)

Arguments

nSamples

number of total items

propSamples

proportion of items to be sampled

Value

A list in with a vector with the indices of selected samples.


mpru/ConsensusClustering documentation built on May 9, 2019, 5:54 a.m.