trainSeeds: create a list of seeds for trainControl()

View source: R/trainSeeds.R

trainSeedsR Documentation

create a list of seeds for trainControl()

Description

this function creates a list of seeds to be used with trainControl

Usage

trainSeeds(size, number, seed = 357)

Arguments

size

the number of models to be evaluated

number

the number of boot-starpping/cv repeats

seed

the global seed to be set

Value

a list of integer seeds

Author(s)

Tim Appelhans (largely taken from the examples of trainControl)

Examples

trainSeeds(9, 3)


environmentalinformatics-marburg/Rsenal documentation built on July 28, 2023, 6:09 a.m.