Learn R Programming

harvestr (version 0.7.1)

sprout: Create substreams of numbers based of a current stream.

Description

Seeds from gather can be used to generate another set of independent streams. These seeds can be given to graft

Usage

sprout(seed, n)

Arguments

seed
a current random number stream compatible with nextRNGSubStream
n
number of new streams to create.

Details

As a convenience seed can be an object that has a seed attached, ie. the result of any harvestr function.

See Also

nextRNGSubStream

Other harvest: farm, gather, harvest, plant