View source: R/ParameterSet_S3methods.R
rep.ParameterSet | R Documentation |
In contrast to the $rep
method in ParameterSet, this method
deep clones the ParameterSet and returns a new object.
## S3 method for class 'ParameterSet' rep(x, times, prefix, ...)
x |
(ParameterSet) |
times |
( |
prefix |
( |
... |
( |
In order to avoid duplicated parameter ids, every id in the
ParameterSet is given a prefix
in the format prefix__id
. In
addition, linked tags are also given the same prefix to prevent
incorrectly linking parameters.
The primary use-case of this method is to treat the ParameterSet as a collection of identical ParameterSet objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.