reseedParamSets: Reset the random seeds in a ParameterSet object

Description Usage Arguments Details Examples

Description

This function resets the random seeds defined in a ParameterSet (specifically, in the w.init slot) to random values if new.seeds is NULL, or to the values specified in new.seeds otherwise.

Usage

1
reseedParamSets(object, new.seeds = NULL)

Arguments

object

Object in which to reset random seeds

new.seeds

Numeric vector indicating new random seeds

Details

If new.seeds is not NULL, it must be a numeric vector with a length equal to the number of parameter sets defined in object (this value can be determined with the getParamSetCount method.)

Examples

1
2
p = parameterSet(n.comp = c(10,20,30))
getAllParamSets(p)

MPCary/DEXICA documentation built on May 4, 2019, 2:35 p.m.