getSeedVector: Generate a seed vector consistently

getSeedVectorR Documentation

Generate a seed vector consistently

Description

This function should be used for all random sampling in all Rstox packages.

Usage

getSeedVector(seed, size = 1)

Arguments

seed

A single integer setting the seed of the seed vector generation.

size

A single integer giving the length of the seed vector.


StoXProject/RstoxBase documentation built on Nov. 6, 2024, noon