generate_seeds: Generate seeds

Description Usage Arguments Value See Also Examples

View source: R/generate_seeds.R

Description

This function creates a vector of random numbers between 1 and 10000 that are used to set the seed. Since every images needs its own seed, the number of images you want to create equals the number of seeds.

Usage

1
generate_seeds(nr_of_img)

Arguments

nr_of_img

a numeric input vector specifiying the number of images that should be generated.

Value

numeric vector

See Also

generate_filenames the file names are created based on the seed

Examples

1
generate_seeds(3) #creates the seeds for three images

samuelwaldman/random documentation built on Dec. 22, 2021, 10:14 p.m.