mkSeeds: Make random seeds for Monte Carlo runs

Description Usage Arguments Value Examples

View source: R/general.R

Description

Creates a vector of unique random seeds for reproducible generation of datasets.

Usage

1
mkSeeds(nmc = 1000, firstseed = NULL)

Arguments

nmc

Number of Monte Carlo runs (default 1000)

firstseed

Seed for generating seeds (meta-seed?)

Value

A vector of seeds up to .Machine$integer.max

Examples

1
2
nmc <- 10
pmx <- cbind(randParams(genParamRanges(), nmc, 1001), seed=mkSeeds(nmc, 1001))

dalejbarr/simgen documentation built on Jan. 28, 2019, 7:43 p.m.