boot_index: Create index for the samples

View source: R/boot_rgcca.R

boot_indexR Documentation

Create index for the samples

Description

Helper function for the easy creation of an index to bootstrap. Each element has the same number of samples.

Usage

boot_index(samples, boots)

Arguments

samples

A numeric value of samples.

boots

A numeric value of bootstraps you want.

Value

A list of length boots with indices for the samples.

See Also

boot_index_sgcca()

Examples

boot_index(10, 3)

llrs/inteRmodel documentation built on April 1, 2022, 4:04 p.m.