Skip to contents

Derives a reproducible seed from a master seed and a tag (e.g. "sample", "rep12"), so that redrawing one stream (a new sample) does not change another (the fishery), and designs compared on the same fishery share the same draws where they overlap (common random numbers).

Usage

seed_for(seed, tag)

Arguments

seed

Master seed (integer).

tag

Character tag of the stream.

Value

An integer seed.